Browse Source

build package only if "all" arg specified

pull/2/head
gorhill 10 years ago
parent
commit
b66cd2ca0f
  1. 3
      tools/make-firefox.sh

3
tools/make-firefox.sh

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