From 14d8d67d62824d97ef944b4873e418de987fc921 Mon Sep 17 00:00:00 2001 From: Marco Cetica Date: Tue, 14 Mar 2023 11:21:45 +0100 Subject: [PATCH] Fixing CI --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 661cb39..373125e 100755 --- a/backup.sh +++ b/backup.sh @@ -93,9 +93,9 @@ make_backup() { # Compress and encrypt backup directory echo "Compressing and encrypting backup..." - tar -cz -C $BACKUP_SH_OUTPATH $BACKUP_SH_FOLDER | \ + tar -cz -C "$BACKUP_SH_OUTPATH" $BACKUP_SH_FOLDER | \ openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -k "$BACKUP_SH_PASS" \ - > $BACKUP_SH_OUTPATH/"backup-$(uname -n)-$BACKUP_SH_DATE.tar.gz.enc" + > "$BACKUP_SH_OUTPATH"/"backup-$(uname -n)-$BACKUP_SH_DATE.tar.gz.enc" # Remove temporary files rm -rf "$BACKUP_SH_OUTPUT"