This is the mail archive of the
mailing list for the GCC project.
Re: libiberty for $build
In article <200107100459.AAA16670@greed.delorie.com> you write:
>> Some shells don't like it when a command results in a non-zero exit
>> status. Use `test "x$build" = "x$host" || echo "/$build"` instead.
>We really need a list of what we're allowed to use and what we're not
>allowed to use. Of course, I recall tripping over this in a Makefile
>on a DEC/Ultrix box way back when...
pdksh is pretty bad at this in set -e mode (in fact, looks like bugs).
So, if you want to cross-check things, install it and try using it with
your shell-scripts. That ought to catch a few problems.