Netbeans is running it as part of the openoffice sdk addin. I found basename (using "which basename", thanks!) to be in /usr/bin [ I had no idea it was a program being called by the script! ]
I altered the script from `basename $0` to `/usr/bin/basename $0` and it works fine now. I did a quick script to copy a new version over all the copies in the directory so have it all working (there are only 14 not 20, but still...) Thanks heaps! I'm going to try changing "sh" to "bash" and see if that fixes it too. That might be easier for the developers to change as the permanent fix. Kerry. On 27/11/2007, Steve Holdoway <[EMAIL PROTECTED]> wrote: > You running it from cron? If so, there's no search path worth talking about. > You can either configure an useable $PATH in the script, or use the full > pathname of each command instead. > > Steve
