I have a script like this:
#! /bin/sh
PADHOME = `/usr/local/pad`
export PADHOME
TCL_LIBRARY=$PADHOME/tcl8.0
export TCL_LIBRARY
TK_LIBRARY=$PADHOME/tk8.0
export TK_LIBRARY
ELK_LOADPATH=$PADHOME/scheme-runtime
export ELK_LOADPATH
$PADHOME/padwish $PADHOME/draw/pad.tcl $*
When I execute this script, I have the following error msg:
/usr/local/pad: is a directory
/padwish: no such file or directory
I have little knowledge in scipt and would like to know how to get this script
run correctly. THanks fo
p******f 发帖数: 162
2
I guess the first line should be:
PADHOME=/usr/local/pad
【在 g******a 的大作中提到】 : I have a script like this: : #! /bin/sh : PADHOME = `/usr/local/pad` : export PADHOME : TCL_LIBRARY=$PADHOME/tcl8.0 : export TCL_LIBRARY : TK_LIBRARY=$PADHOME/tk8.0 : export TK_LIBRARY : ELK_LOADPATH=$PADHOME/scheme-runtime : export ELK_LOADPATH