From 7846ead4499582f71c682a55e6c7cb783283d1d1 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 6 Oct 2019 21:31:57 +0200 Subject: Overwrite Chromium zip on reiterated builds. --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 83de6de..3782b2a 100644 --- a/build.sh +++ b/build.sh @@ -114,9 +114,9 @@ else WEBEXT_OUT="$XPI_DIR" fi -COMMON_BUILD_OPTS=--ignore-files=test/XSS_test.js +COMMON_BUILD_OPTS="--ignore-files=test/XSS_test.js --overwrite-dest" -"$BUILD_CMD" $BUILD_OPTS --overwrite-dest --source-dir="$WEBEXT_IN" --artifacts-dir="$WEBEXT_OUT" $COMMON_BUILD_OPTS +"$BUILD_CMD" $BUILD_OPTS --source-dir="$WEBEXT_IN" --artifacts-dir="$WEBEXT_OUT" $COMMON_BUILD_OPTS SIGNED="$XPI_DIR/noscript_security_suite-$VER-an+fx.xpi" if [ -f "$SIGNED" ]; then mv "$SIGNED" "$XPI.xpi" -- cgit v1.2.3