"Mark D. Baushke" <[EMAIL PROTECTED]> writes:

>    ../gnulib/gnulib-tool --update
>
> command from the hello-2.1.91 directory on a Solaris 9 box yeilds a
> syntax error:
>
> ../gnulib/gnulib-tool: syntax error at line 634: `}' unexpected

The Solaris /bin/sh doesn't conform to POSIX:

   $ /bin/sh -c 'if ! false; then echo good; else echo bad; fi'
   /bin/sh: !: not found
   bad

You can work around the problem with /bin/bash or /bin/ksh or
/usr/xpg4/bin/sh.  You might also file a bug report with Sun;
there's no good reason for /bin/sh to not support '!'.

I suspect it's not high priority to port gnulib-tool to hosts that
fail to conform to POSIX in major ways.  Though I suppose gnulib-tool
could check for this particular problem and exit right away if it
detects it.

Your other points about gnulib-tool reflect some problems I've had
with it as well, not that I have solutions.


Reply via email to