Remove final if

This commit is contained in:
Fizban 2020-06-03 00:39:36 +10:00
parent fbbcff164c
commit e5d7a99003
1 changed files with 8 additions and 7 deletions

View File

@ -39,11 +39,12 @@ if [ -f requirements.txt ]; then
pip install -r requirements.txt pip install -r requirements.txt
fi # [ -f requirements.txt ] fi # [ -f requirements.txt ]
# echo "$@" echo "this is at"
echo "$@"
if [[ "$@" == "" ]]; then # if [[ "$@" == "" ]]; then
pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec
chown -R --reference=. ./dist/windows chown -R --reference=. ./dist/windows
else # else
sh -c "$@" # sh -c "$@"
fi # [[ "$@" == "" ]] # fi # [[ "$@" == "" ]]