From 48c056c66c6006fc4cf29ed6136bd97ddd0dd4c0 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Sun, 12 Jan 2020 15:14:53 +1100 Subject: [PATCH] Don't store extended attributes in ZIP archives This is a small step towards a reproducible build -- but `zip` doesn't support junking timestamps. --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index bb61b81..9d05487 100755 --- a/build.sh +++ b/build.sh @@ -97,7 +97,7 @@ case "${ARCH}" in unzip -o $input/make-${ARCH}.zip cd $base/output - zip -r $output_name.zip $output_name + zip -r -X $output_name.zip $output_name checksum_output .zip ;; @@ -130,7 +130,7 @@ case "${ARCH}" in rm -rf re cd $base/output - zip -r $output_name.zip $output_name + zip -r -X $output_name.zip $output_name checksum_output .zip ;; @@ -175,4 +175,4 @@ esac echo "${TRAVIS_TAG}" > $output/VERSION -exit 0 \ No newline at end of file +exit 0