aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/make-firefox.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/make-firefox.sh b/tools/make-firefox.sh
index bebca6f..52d5c9d 100755
--- a/tools/make-firefox.sh
+++ b/tools/make-firefox.sh
@@ -28,9 +28,12 @@ cp LICENSE.txt $DES/
echo "*** uBlock_xpi: Generating meta..."
python tools/make-firefox-meta.py $DES/
-echo "*** uBlock_xpi: Creating package..."
-pushd $DES/
-zip ../uBlock.firefox.xpi -qr *
-popd
+
+if [ "$1" = all ]; then
+ echo "*** uBlock_xpi: Creating package..."
+ pushd $DES/
+ zip ../uBlock.firefox.xpi -qr *
+ popd
+fi
echo "*** uBlock_xpi: Package done."