diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-30 03:58:57 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-30 03:58:57 +0200 |
| commit | 21f848ee689584840a3002a7888337df6a1d00f0 (patch) | |
| tree | c4973b622bda2cb2f4190e95bc4e139c9a6fe83a /got | |
| parent | typo (diff) | |
| download | gates-of-tartaros-21f848ee689584840a3002a7888337df6a1d00f0.tar.gz gates-of-tartaros-21f848ee689584840a3002a7888337df6a1d00f0.tar.bz2 gates-of-tartaros-21f848ee689584840a3002a7888337df6a1d00f0.tar.xz | |
more installation flexibility
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'got')
| -rwxr-xr-x | got | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ if [ "$1" = "-" ]; then { read user if [ ! "${user/@/}" = "${user}" ]; then - export GOT_COMMAND="ssh ${user}" + export GOT_COMMAND="@ssh@ ${user}" login -p -f @sshlogin@ elif [ "${user::1}" = "-" ]; then stty -icanon -echo -isig -ix{on,off,any} @@ -65,7 +65,7 @@ else # cannot get any other solution to work with `login` # then to spawn a new process with pipes preset - tty="/dev/$1" + tty="@dev@/$1" tty_settings="$(stty --save)" "$0" - "$@" > "${tty}" 2> "${tty}" < "${tty}" stty "${tty_settings}" |
