1
0
Fork 0
mirror of synced 2024-12-21 06:01:08 -05:00

Double quote array expansion

This commit is contained in:
Tim Byrne 2016-04-21 07:39:04 -05:00
parent fbaf5b6cf4
commit 5ad5b2df7e

2
yadm
View file

@ -243,7 +243,7 @@ function encrypt() {
done < "$YADM_ENCRYPT" done < "$YADM_ENCRYPT"
#; encrypt all files which match the globs #; encrypt all files which match the globs
tar -cv ${GLOBS[@]} | gpg --yes "$GPG_OPTS" --output "$YADM_ARCHIVE" tar -cv "${GLOBS[@]}" | gpg --yes "$GPG_OPTS" --output "$YADM_ARCHIVE"
if [ $? = 0 ]; then if [ $? = 0 ]; then
echo "Wrote new file: $YADM_ARCHIVE" echo "Wrote new file: $YADM_ARCHIVE"
else else