On 12/21/06, James liu <[EMAIL PROTECTED]> wrote:
i use fb 6.1

when i use
# sh rsyncd-enable

it show me:
cd: can't cd to rsyncd-enable/..

Try executing it directly, or passing it's full path.
The current ${0%/*} trick to get the exe path only works if there is
more than one path element.

$ cat ttt
echo ${0%/*}
$ ./ttt
.
$ sh ttt
ttt
$ sh ./ttt
.
$ cd ..
$ sh yonik/ttt
yonik


-Yonik

Reply via email to