Update unix-launcher.sh
$LAUNCHER does not evaluate when enclosed in single quotes. Changed to double quotes to run properly.
This commit is contained in:
parent
ba0dff819f
commit
d561768246
|
@ -79,7 +79,7 @@ else
|
||||||
|
|
||||||
# if no terminal was found, run in current shell or with no output
|
# if no terminal was found, run in current shell or with no output
|
||||||
if [ -z "$LAUNCHTERM" ]; then
|
if [ -z "$LAUNCHTERM" ]; then
|
||||||
sh -c 'TERM=xterm $LAUNCHER'
|
sh -c "TERM=xterm $LAUNCHER"
|
||||||
if [ $? -eq 127 ]; then
|
if [ $? -eq 127 ]; then
|
||||||
$LAUNCHER --no-terminal
|
$LAUNCHER --no-terminal
|
||||||
fi
|
fi
|
||||||
|
@ -116,7 +116,7 @@ else
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# If we don't know the terminal, just try to run it in the current shell.
|
# 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 THAT fails, launch with no output
|
||||||
if [ $? -eq 127 ]; then
|
if [ $? -eq 127 ]; then
|
||||||
$LAUNCHER --no-terminal
|
$LAUNCHER --no-terminal
|
||||||
|
|
Loading…
Reference in New Issue