build package only if "all" arg specified

This commit is contained in:
gorhill 2015-01-13 09:28:53 -05:00
parent 7e6acb9200
commit 580d3a81db

View file

@ -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."