add quotes to support spaces in filenames
This commit is contained in:
parent
e96345eb87
commit
e9720fb1c3
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ ensure_algorithm
|
||||||
echo -n > $YADM_CHECKSUMS
|
echo -n > $YADM_CHECKSUMS
|
||||||
|
|
||||||
# calculate checksums for encrypted files
|
# calculate checksums for encrypted files
|
||||||
for included in ${YADM_ENCRYPT_INCLUDE_FILES[@]}; do
|
for included in "${YADM_ENCRYPT_INCLUDE_FILES[@]}"; do
|
||||||
shasum --algorithm $CHECKSUM_ALGORITHM $included >> $YADM_CHECKSUMS
|
shasum --algorithm $CHECKSUM_ALGORITHM $included >> $YADM_CHECKSUMS
|
||||||
|
|
||||||
# signal errors
|
# signal errors
|
||||||
|
|
Loading…
Reference in a new issue