Browse Source

Fixed rm -rf

Notice: it is unsafe to do rm -rf ${variable}/path/* without checking the variable, quotes are also required.
3.1
Alexx Saver 7 years ago
committed by Johann Bauer
parent
commit
fe54ce946c
  1. 5
      contrib/build-wine/build.sh

5
contrib/build-wine/build.sh

@ -7,10 +7,11 @@ if [ ! -z "$1" ]; then
fi
here=$(dirname "$0")
test -n "$here" -a -d "$here" || exit
echo "Clearing $here/build and $here/dist..."
rm $here/build/* -rf
rm $here/dist/* -rf
rm "$here"/build/* -rf
rm "$here"/dist/* -rf
$here/prepare-wine.sh && \
$here/prepare-pyinstaller.sh && \

Loading…
Cancel
Save