cleanup
This commit is contained in:
@@ -69,26 +69,29 @@ if [[ "$attribution_passphrase" != "$attribution_passphrase_check" ]]; then
|
||||
exit 1
|
||||
else
|
||||
echo -e "attribution_passphrase: \033[0;32mOK!\033[0m"
|
||||
echo "$attribution_passphrase" > "attribution_passphrase_${unix_seconds}.txt
|
||||
fi
|
||||
unset attribution_passphrase_check
|
||||
unset attribution_passphrase
|
||||
{
|
||||
printf '%s' "$attribution_passphrase"
|
||||
cat "$out_dir/contents.7z"
|
||||
} | sha512sum | awk '{print $1}' > "$out_dir/attribution.sha512"
|
||||
} | sha512sum | awk '{print $1}' > "$out_dir/attribution-checksum.sha512"
|
||||
|
||||
printf "sanity checking: changing working directory to $out_dir"
|
||||
cd "$out_dir"
|
||||
checkcode $?
|
||||
printf "sanity checking: verification"
|
||||
bash verify-everything.sh
|
||||
checkcode $?
|
||||
printf "sanity checking: validate attribution passphrase"
|
||||
bash test_validation_passphrase.sh
|
||||
checkcode $?
|
||||
printf "sanity checking: returning"
|
||||
cd ..
|
||||
checkcode $?
|
||||
# printf "sanity checking: changing working directory to $out_dir"
|
||||
# cd "$out_dir"
|
||||
# checkcode $?
|
||||
# printf "sanity checking: verification"
|
||||
# bash verify-everything.sh
|
||||
# checkcode $?
|
||||
# printf "sanity checking: validate attribution passphrase"
|
||||
# bash test_validation_passphrase.sh
|
||||
# checkcode $?
|
||||
# printf "sanity checking: returning"
|
||||
# cd ..
|
||||
# checkcode $?
|
||||
|
||||
printf "7z archiving outer dir"
|
||||
7z a "./out.7z" "$out_dir"
|
||||
checkcode $?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user