Unify the way alternate file strings are matched

pull/174/head
Tim Byrne 5 years ago
parent c8a9165293
commit 0438e383e5
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12

@ -390,7 +390,7 @@ function alt() {
local IFS=$'\n'
for possible_alt in "${tracked_files[@]}" "${ENCRYPT_INCLUDE_FILES[@]}"; do
if [[ $possible_alt =~ .\#\#. ]]; then
possible_alts+=("$YADM_WORK/${possible_alt%##*}")
possible_alts+=("$YADM_WORK/${possible_alt%%##*}")
fi
done
local alt_linked

Loading…
Cancel
Save