add quotes to support spaces in filenames

This commit is contained in:
Martin Zuther 2019-12-27 23:39:06 +01:00
parent e96345eb87
commit e9720fb1c3
No known key found for this signature in database
GPG Key ID: 47D3346D758A37D8
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ ensure_algorithm
echo -n > $YADM_CHECKSUMS
# 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
# signal errors