mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Unify the way alternate file strings are matched
This commit is contained in:
parent
c8a9165293
commit
0438e383e5
2
yadm
2
yadm
@ -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…
Reference in New Issue
Block a user