Empty target directory instead of re-creating it

For better web-ext compatibility.
This commit is contained in:
Raymond Hill 2024-03-05 07:59:11 -05:00
parent 395fa7197b
commit 185ff3fd96
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -8,8 +8,8 @@ echo "*** uBlock0.firefox: Creating web store package"
BLDIR=dist/build
DES="$BLDIR"/uBlock0.firefox
rm -rf $DES
mkdir -p $DES
rm -rf $DES/*
echo "*** uBlock0.firefox: Copying common files"
bash ./tools/copy-common-files.sh $DES