mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
Fixed rm -rf
Notice: it is unsafe to do rm -rf ${variable}/path/* without checking the variable, quotes are also required.
This commit is contained in:
parent
275ba85595
commit
fe54ce946c
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue