diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | got | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,7 @@ SBIN = /sbin LICENSES = /usr/share/licenses COMMAND = got PKGNAME = gates-of-tartaros +SSHUSER = sshlogin BASH_SHEBANG = /usr/bin/env bash @@ -17,6 +18,7 @@ got.install: got sed -i 's:@prefix@:$(PREFIX):g' "$@" sed -i 's:@etc@:$(SYSCONF):g' "$@" sed -i 's:@command@:$(COMMAND):g' "$@" + sed -i 's:@sshlogin@:$(SSHUSER):g' "$@" got-cmd.install: got-cmd cp "$<" "$@" @@ -32,7 +32,7 @@ if [ "$1" = "-" ]; then read user if [ ! "${user/@/}" = "${user}" ]; then export GOT_COMMAND="ssh ${user}" - login -p -f sshlogin + login -p -f @sshlogin@ elif [ "${user::1}" = "-" ]; then stty -icanon -echo -isig -ix{on,off,any} echo $'\e[01;31mNice try! Sleeping for 10 minutes...\e[00m' |
