diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-07-28 21:47:21 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-07-28 21:47:21 -0400 |
commit | ab34b6142dcd04e629012a1c30d37bc9c7e5df5e (patch) | |
tree | 0020bbcf32a1d9d33d363b5773b239104f06a2c5 /src | |
parent | 5371dc3fce9b05075346414f6ee4de1230c90c22 (diff) | |
download | SMAPI-ab34b6142dcd04e629012a1c30d37bc9c7e5df5e.tar.gz SMAPI-ab34b6142dcd04e629012a1c30d37bc9c7e5df5e.tar.bz2 SMAPI-ab34b6142dcd04e629012a1c30d37bc9c7e5df5e.zip |
undo $@ to $* change per discussion
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.Installer/assets/unix-launcher.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/SMAPI.Installer/assets/unix-launcher.sh b/src/SMAPI.Installer/assets/unix-launcher.sh index 88a3a328..778663d7 100644 --- a/src/SMAPI.Installer/assets/unix-launcher.sh +++ b/src/SMAPI.Installer/assets/unix-launcher.sh @@ -55,7 +55,7 @@ if [ "$(uname)" == "Darwin" ]; then if [ "$USE_CURRENT_SHELL" == "false" ]; then echo "Reopening in the Terminal app..." echo '#!/bin/sh' > /tmp/open-smapi-terminal.command - echo "\"$0\" $* --use-current-shell" >> /tmp/open-smapi-terminal.command + echo "\"$0\" $@ --use-current-shell" >> /tmp/open-smapi-terminal.command chmod +x /tmp/open-smapi-terminal.command cat /tmp/open-smapi-terminal.command open -W /tmp/open-smapi-terminal.command @@ -114,27 +114,27 @@ else terminal|termite) # consumes only one argument after -e # options containing space characters are unsupported - exec "$TERMINAL_NAME" -e "env TERM=xterm $LAUNCH_FILE $*" + exec "$TERMINAL_NAME" -e "env TERM=xterm $LAUNCH_FILE $@" ;; xterm|konsole|alacritty) # consumes all arguments after -e - exec "$TERMINAL_NAME" -e env TERM=xterm $LAUNCH_FILE "$*" + exec "$TERMINAL_NAME" -e env TERM=xterm $LAUNCH_FILE "$@" ;; terminator|xfce4-terminal|mate-terminal) # consumes all arguments after -x - exec "$TERMINAL_NAME" -x env TERM=xterm $LAUNCH_FILE "$*" + exec "$TERMINAL_NAME" -x env TERM=xterm $LAUNCH_FILE "$@" ;; gnome-terminal) # consumes all arguments after -- - exec "$TERMINAL_NAME" -- env TERM=xterm $LAUNCH_FILE "$*" + exec "$TERMINAL_NAME" -- env TERM=xterm $LAUNCH_FILE "$@" ;; kitty) # consumes all trailing arguments - exec "$TERMINAL_NAME" env TERM=xterm $LAUNCH_FILE "$*" + exec "$TERMINAL_NAME" env TERM=xterm $LAUNCH_FILE "$@" ;; *) |