mirror of https://github.com/gorhill/uBlock.git
Attempt to fix build script for Firefox
This commit is contained in:
parent
4d540f3ffa
commit
a038c8658f
|
@ -5,7 +5,8 @@
|
|||
echo "*** uBlock0.firefox: Creating web store package"
|
||||
echo "*** uBlock0.firefox: Copying files"
|
||||
|
||||
DES=dist/build/uBlock0.firefox
|
||||
BLDIR=dist/build
|
||||
DES="$BLDIR"/uBlock0.firefox
|
||||
rm -rf $DES
|
||||
mkdir -p $DES
|
||||
|
||||
|
@ -56,8 +57,9 @@ if [ "$1" = all ]; then
|
|||
elif [ -n "$1" ]; then
|
||||
echo "*** uBlock0.firefox: Creating versioned package..."
|
||||
pushd $DES > /dev/null
|
||||
zip ../$(basename $DES).xpi -qr * -O ../uBlock0_"$1".firefox.xpi
|
||||
zip ../$(basename $DES).xpi -qr *
|
||||
popd > /dev/null
|
||||
mv "$BLDIR"/uBlock0.firefox.xpi "$BLDIR"/uBlock0_"$1".firefox.xpi
|
||||
fi
|
||||
|
||||
echo "*** uBlock0.firefox: Package done."
|
||||
|
|
Loading…
Reference in New Issue