From 2e7a002308b7d9855b8ebe23483e28758aa18057 Mon Sep 17 00:00:00 2001 From: Eugene Brodsky Date: Sun, 29 Jan 2023 20:10:51 -0500 Subject: [PATCH] (installer) remove unnecessary shell options from the install wrapper script --- installer/create_installer.sh | 4 ++-- installer/install.sh.in | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/installer/create_installer.sh b/installer/create_installer.sh index b69c5a56f0..7692da8468 100755 --- a/installer/create_installer.sh +++ b/installer/create_installer.sh @@ -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 diff --git a/installer/install.sh.in b/installer/install.sh.in index 19d0d2f322..5b8d5a1577 100644 --- a/installer/install.sh.in +++ b/installer/install.sh.in @@ -4,6 +4,4 @@ # (don't need to check status) deactivate >/dev/null 2>&1 -set -euo pipefail - exec python3 $(dirname $0)/main.py ${@}