summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/assets/unix-launcher.sh
diff options
context:
space:
mode:
authorJackson Law <178053+jlaw@users.noreply.github.com>2020-06-22 22:36:59 -0700
committerGitHub <noreply@github.com>2020-06-22 22:36:59 -0700
commitd561768246aac614946dd096226a38b4d9ede18b (patch)
tree5c583770b54649457a966bf7a14475dfedd192d5 /src/SMAPI.Installer/assets/unix-launcher.sh
parentba0dff819f2e65b16a0c7bc7a9233fdb101994d0 (diff)
downloadSMAPI-d561768246aac614946dd096226a38b4d9ede18b.tar.gz
SMAPI-d561768246aac614946dd096226a38b4d9ede18b.tar.bz2
SMAPI-d561768246aac614946dd096226a38b4d9ede18b.zip
Update unix-launcher.sh
$LAUNCHER does not evaluate when enclosed in single quotes. Changed to double quotes to run properly.
Diffstat (limited to 'src/SMAPI.Installer/assets/unix-launcher.sh')
-rw-r--r--src/SMAPI.Installer/assets/unix-launcher.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Installer/assets/unix-launcher.sh b/src/SMAPI.Installer/assets/unix-launcher.sh
index b72eed22..b2f52c19 100644
--- a/src/SMAPI.Installer/assets/unix-launcher.sh
+++ b/src/SMAPI.Installer/assets/unix-launcher.sh
@@ -79,7 +79,7 @@ else
# if no terminal was found, run in current shell or with no output
if [ -z "$LAUNCHTERM" ]; then
- sh -c 'TERM=xterm $LAUNCHER'
+ sh -c "TERM=xterm $LAUNCHER"
if [ $? -eq 127 ]; then
$LAUNCHER --no-terminal
fi
@@ -116,7 +116,7 @@ else
;;
*)
# If we don't know the terminal, just try to run it in the current shell.
- sh -c 'TERM=xterm $LAUNCHER'
+ sh -c "TERM=xterm $LAUNCHER"
# if THAT fails, launch with no output
if [ $? -eq 127 ]; then
$LAUNCHER --no-terminal