1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 01:27:12 +02:00

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