mirror of
https://github.com/gorhill/uBlock.git
synced 2024-08-31 08:09:38 +02:00
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: Creating web store package"
|
||||||
echo "*** uBlock0.firefox: Copying files"
|
echo "*** uBlock0.firefox: Copying files"
|
||||||
|
|
||||||
DES=dist/build/uBlock0.firefox
|
BLDIR=dist/build
|
||||||
|
DES="$BLDIR"/uBlock0.firefox
|
||||||
rm -rf $DES
|
rm -rf $DES
|
||||||
mkdir -p $DES
|
mkdir -p $DES
|
||||||
|
|
||||||
@ -56,8 +57,9 @@ if [ "$1" = all ]; then
|
|||||||
elif [ -n "$1" ]; then
|
elif [ -n "$1" ]; then
|
||||||
echo "*** uBlock0.firefox: Creating versioned package..."
|
echo "*** uBlock0.firefox: Creating versioned package..."
|
||||||
pushd $DES > /dev/null
|
pushd $DES > /dev/null
|
||||||
zip ../$(basename $DES).xpi -qr * -O ../uBlock0_"$1".firefox.xpi
|
zip ../$(basename $DES).xpi -qr *
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
mv "$BLDIR"/uBlock0.firefox.xpi "$BLDIR"/uBlock0_"$1".firefox.xpi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "*** uBlock0.firefox: Package done."
|
echo "*** uBlock0.firefox: Package done."
|
||||||
|
Loading…
Reference in New Issue
Block a user