diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index 3d5483a..7fa0e44 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -14,6 +14,10 @@ signature_tag="file-integrity" out_dir="./out" inner_dir="$out_dir/contents" +# save here to use in error_handle function +num_of_args="$#" +all_args="$@" + checkcode() { local retcode if [ -z "$1" ]; then