diff options
fix: remove double-spaces
-rwxr-xr-x | contrib/ensure-reproducible-builds.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ensure-reproducible-builds.sh b/contrib/ensure-reproducible-builds.sh index ff0b9aa..37e531a 100755 --- a/contrib/ensure-reproducible-builds.sh +++ b/contrib/ensure-reproducible-builds.sh @@ -7,7 +7,7 @@ cd artifacts ZIPNAME="$(jq -r '.name + "-" + .version + "-unsigned.zip"' ../manifest.json)" unzip "$ZIPNAME" rm "$ZIPNAME" -HASH1="$( (find . -type f -print0 | sort -z | xargs -0 sha512sum; +HASH1="$( (find . -type f -print0 | sort -z | xargs -0 sha512sum; find . \( -type f -o -type d \) -print0 | sort -z | \ xargs -0 stat -c '%n %a') \ | sha512sum)" @@ -20,7 +20,7 @@ make mozaddons cd artifacts unzip "$ZIPNAME" rm "$ZIPNAME" -HASH2="$( (find . -type f -print0 | sort -z | xargs -0 sha512sum; +HASH2="$( (find . -type f -print0 | sort -z | xargs -0 sha512sum; find . \( -type f -o -type d \) -print0 | sort -z | \ xargs -0 stat -c '%n %a') \ | sha512sum)" |