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
fi # [ -f requirements.txt ]
# echo "$@"
echo "this is at"
echo "$@"
if [[ "$@" == "" ]]; then
pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec
chown -R --reference=. ./dist/windows
else
sh -c "$@"
fi # [[ "$@" == "" ]]
# if [[ "$@" == "" ]]; then
pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec
chown -R --reference=. ./dist/windows
# else
# sh -c "$@"
# fi # [[ "$@" == "" ]]