From d561768246aac614946dd096226a38b4d9ede18b Mon Sep 17 00:00:00 2001 From: Jackson Law <178053+jlaw@users.noreply.github.com> Date: Mon, 22 Jun 2020 22:36:59 -0700 Subject: [PATCH] Update unix-launcher.sh $LAUNCHER does not evaluate when enclosed in single quotes. Changed to double quotes to run properly. --- src/SMAPI.Installer/assets/unix-launcher.sh | 4 ++-- 1 file 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