(installer) remove unnecessary shell options from the install wrapper script

This commit is contained in:
Eugene Brodsky 2023-01-29 20:10:51 -05:00
parent 5ee5c5a012
commit 2e7a002308
2 changed files with 2 additions and 4 deletions

View File

@ -57,8 +57,8 @@ mv dist/*.whl InvokeAI-Installer/
# Install scripts
# Mac/Linux
perl -p -e "s/^INVOKEAI_VERSION=.*/INVOKEAI_VERSION=\"$VERSION\"/" install.sh.in > InvokeAI-Installer/install.sh
chmod a+rx InvokeAI-Installer/install.sh
cp install.sh.in InvokeAI-Installer/install.sh
chmod a+x InvokeAI-Installer/install.sh
# Windows
perl -p -e "s/^set INVOKEAI_VERSION=.*/set INVOKEAI_VERSION=$VERSION/" install.bat.in > InvokeAI-Installer/install.bat

View File

@ -4,6 +4,4 @@
# (don't need to check status)
deactivate >/dev/null 2>&1
set -euo pipefail
exec python3 $(dirname $0)/main.py ${@}