diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index 32b224c..63dc18d 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -76,11 +76,17 @@ unset attribution_passphrase_check cat "$out_dir/contents.7z" } | sha512sum | awk '{print $1}' > "$out_dir/attribution.sha512" +printf "sanity checking: changing working directory to $out_dir" +cd out +checkcode $? printf "sanity checking: verification" -bash out/verify-everything.sh +bash verify-everything.sh checkcode $? printf "sanity checking: validate attribution passphrase" -bash out/test_validation_passphrase.sh +bash test_validation_passphrase.sh +checkcode $? +printf "sanity checking: returning" +cd .. checkcode $? printf "7z archiving outer dir"