diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index c9a35eb..46583bf 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -122,13 +122,15 @@ fi unset keystore_passphrase_check > /dev/null 2>&1 printf "archivin keys..." -7z a "keystore/keystore_${unix_seconds}.7z" -p"$keystore_passphrase" "private_*" "private_*.pub" "attribution_passphrase_${unix_seconds}.txt" > /dev/null 2>&1 +7z a "keystore/keystore_${unix_seconds}.7z" -p$keystore_passphrase "private_*" "private_*.pub" "attribution_passphrase_${unix_seconds}.txt" > /dev/null 2>&1 checkcode $? printf "testing key archive..." -7z t "keystore/keystore_${unix_seconds}.7z" -p"$keystore_passphrase" > /dev/null 2>&1 +7z t "keystore/keystore_${unix_seconds}.7z" -p$keystore_passphrase > /dev/null 2>&1 checkcode $? +unset keystore_passphrase + printf "resetting environment..." bash reset.sh checkcode $?