summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackademix2019-10-06 21:31:57 +0200
committerhackademix2019-10-06 21:31:57 +0200
commit7846ead4499582f71c682a55e6c7cb783283d1d1 (patch)
tree86fe55fa07bfe9c4059018988a35bb6b7bf8ba05
parent0995fb8dc164de10b437d0d8c8f1c375c9e32fc3 (diff)
downloadnoscript-7846ead4499582f71c682a55e6c7cb783283d1d1.tar.gz
noscript-7846ead4499582f71c682a55e6c7cb783283d1d1.tar.xz
noscript-7846ead4499582f71c682a55e6c7cb783283d1d1.zip
Overwrite Chromium zip on reiterated builds.
-rw-r--r--build.sh4
1 files 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"