mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
build package only if "all" arg specified
This commit is contained in:
parent
7e6acb9200
commit
580d3a81db
1 changed files with 7 additions and 4 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue