diff --git a/src/adr-upgrade-repository b/src/adr-upgrade-repository index fccc7d1..9b14e07 100755 --- a/src/adr-upgrade-repository +++ b/src/adr-upgrade-repository @@ -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"