bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash vs. sh


From: Paul Hilfinger
Subject: Bash vs. sh
Date: Wed, 26 Mar 2008 18:29:58 -0700

The bootstrap file is headed

    #! /bin/sh

However, it contains lines such as 

     if ! "$SHA1SUM" -c --status "$cksum_file" < "$new_po" >  /dev/null; then

and 

     if ! test -d "$dst_dir"; then

In a standard Solaris 10 installation, /bin/sh does not recognize the
'!' command.  I had to fix this by changing the shell used by
bootstrap to /bin/bash.

P. Hilfinger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]