Skip to content

Commit

Permalink
bad SELF_PATH fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
masse committed Mar 7, 2003
1 parent e9a58ba commit 387399c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pan/bin/pan
Expand Up @@ -12,6 +12,7 @@ if ( `echo $SELF_PATH | grep '/\.$'` != "" ) then
set SELF_PATH = $SELF_PATH:h set SELF_PATH = $SELF_PATH:h
endif endif


set PAN_TOP = `dirname $SELF_PATH`
set SNAME = pan set SNAME = pan
set U1 = "usage: $0 [-setcookie <cookie>] [-nocookie]" set U1 = "usage: $0 [-setcookie <cookie>] [-nocookie]"
set U2 = "[-pa <path>] [-tick <netticktime>] [-name <node name>] [-spawn]" set U2 = "[-pa <path>] [-tick <netticktime>] [-name <node name>] [-spawn]"
Expand Down Expand Up @@ -64,7 +65,7 @@ echo tick $tick
echo cookie $cookie echo cookie $cookie


set CMD1 = "$OTP_ROOT/bin/erl -hidden -boot start_sasl -sasl errlog_type error" set CMD1 = "$OTP_ROOT/bin/erl -hidden -boot start_sasl -sasl errlog_type error"
set CMD2 = "-pa $SELF_PATH $xpat -sname $SNAME $cookie $tick" set CMD2 = "-pa $PAN_TOP/ebin $xpat -sname $SNAME $cookie $tick"
set CMD = "$CMD1 $CMD2" set CMD = "$CMD1 $CMD2"
if ( $?spawn ) then if ( $?spawn ) then
xterm -sb -sl 9999 -geometry 80x24 -bg lightcyan -T $SNAME -e $CMD & xterm -sb -sl 9999 -geometry 80x24 -bg lightcyan -T $SNAME -e $CMD &
Expand Down

0 comments on commit 387399c

Please sign in to comment.