1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-25 01:20:37 +12:00

build package only if "all" arg specified

This commit is contained in:
gorhill 2015-01-13 09:28:53 -05:00
parent 14f71e35d8
commit b66cd2ca0f

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