Use `set --'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@821 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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) &
|
||||
|
@@ -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 &"
|
||||
|
Reference in New Issue
Block a user