build package only if "all" arg specified

pull/2/head
gorhill 10 years ago
parent 14f71e35d8
commit b66cd2ca0f

@ -28,9 +28,12 @@ cp LICENSE.txt $DES/
echo "*** uBlock_xpi: Generating meta..."
python tools/make-firefox-meta.py $DES/
if [ "$1" = all ]; then
echo "*** uBlock_xpi: Creating package..."
pushd $DES/
zip ../uBlock.firefox.xpi -qr *
popd
fi
echo "*** uBlock_xpi: Package done."

Loading…
Cancel
Save