The following shell script is producing an error saying that
"basename" is not found:

--------------------------
#!/bin/sh
# wrapper script for OOos SDK programs

LD_LIBRARY_PATH=/usr/lib/openoffice/program
/usr/lib/openoffice/sdk/linux/bin/`basename $0`.bin "$@"
-------------------------

Now, I'm a real shell script noob, but `basename $0` is supposed to
return the name of the file, right?  Why would that fail?

I'm about to edit each of these 20 files to specifically include the
right name, but wondered if there was a better way to sort this issue.

Reply via email to