Use `set --'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@821 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-10-02 18:37:14 +00:00
parent 213fea4c76
commit 071de55c00
2 changed files with 10 additions and 10 deletions

View File

@@ -6,11 +6,11 @@ if test $# -ne 1; then
fi
host=$1
bindir=%bindir%
set foo `$bindir/kx $host`
if test $# -ne 4; then
set -- `$bindir/kx $host`
if test $# -ne 3; then
exit 1
fi
pid=$2
disp=:$3
auth=$4
pid=$1
disp=:$2
auth=$3
(xterm -T $host -n $host -e env DISPLAY=$disp XAUTHORITY=$auth $bindir/telnet -D $host ; kill -USR2 $pid) &

View File

@@ -6,12 +6,12 @@ if test $# -ne 1; then
fi
host=$1
bindir=%bindir%
set foo `$bindir/kx $host`
if test $# -ne 4; then
set -- `$bindir/kx $host`
if test $# -ne 3; then
exit 1
fi
pid=$2
disp=:$3
auth=$4
pid=$1
disp=:$2
auth=$3
kill -USR1 $pid
$bindir/rsh -n $host "env DISPLAY=$disp XAUTHORITY=$auth xterm -T $host -n $host &"