Skip to content

Commit

Permalink
locate executable in adr bin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
npryce committed Feb 22, 2017
1 parent 7da8232 commit abc1479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adr-upgrade-repository
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ eval "$($(dirname $0)/adr-config)"
##
## Upgrades the ADR documents to the latest format.

for f in $(adr list)
for f in $("$adr_bin_dir/adr-list")
do
# Upgrade date format to ISO 8601
sed -E -e 's+Date: ([0-9]{2})/([0-9]{2})/([0-9]{4})+Date: \3-\2-\1+' "$f" > "$f.upgraded"
Expand Down

0 comments on commit abc1479

Please sign in to comment.