mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-26 04:12:50 +01:00
build package only if "all" arg specified
This commit is contained in:
parent
7e6acb9200
commit
580d3a81db
@ -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 New Issue
Block a user