1
0
Fork 0
mirror of synced 2024-11-04 09:08:56 -05:00

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

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