diff options
author | gorhill <rhill@raymondhill.net> | 2015-01-13 09:28:53 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-01-13 09:28:53 -0500 |
commit | 580d3a81db17e4e1cb924b7069122c77dccba270 (patch) | |
tree | 14a5e2a5919d010bf69d14b19d40c095bb5a5955 | |
parent | 7e6acb9200431eb6c71c039353061d0d29e888d4 (diff) | |
download | uBlock-580d3a81db17e4e1cb924b7069122c77dccba270.zip uBlock-580d3a81db17e4e1cb924b7069122c77dccba270.tar.gz uBlock-580d3a81db17e4e1cb924b7069122c77dccba270.tar.bz2 |
build package only if "all" arg specified
-rwxr-xr-x | tools/make-firefox.sh | 11 |
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." |