Search Mailing List Archives
[protege-discussion] Protege 3.2.1 ( without Java VM) on Solaris sparc
Randall R Schulz
rschulz at sonic.net
Mon Apr 30 07:03:26 PDT 2007
On Sunday 29 April 2007 03:36, Branko Mihovilovič wrote:
> ...
>
> Can you post the first 5 lines of your run_protege.sh file, since the
> error seems to be on line 4.
That syntax for process output substitution is not implemented in the
standard Bourne shell, it's a BASH thing. Even if your system has BASH
and BASH fills in for the Bourne shell, when invoked as /bin/sh, as it
is in the "shebang line" of this script (the #!/bin/sh line at the
top), BASH behaves like the Bourne shell and does not include this (and
many other) syntax enhancements.
The counterpart supported by all shells is the back-quote notation:
BASH notation:
cd $(dirname $0)
Conventional notation:
cd `dirname $0`
Randall Schulz
More information about the protege-discussion
mailing list