------- Comment #5 from charlet at adacore dot com 2006-05-08 16:35 -------
Subject: Re: ACATS: Ada testsuite Bourne shell compatibility problem on hpux
>------ Comment #4 from pinskia at gcc dot gnu dot org 2006-05-08 16:31 -------
> [ "x${main}" != "x" ] should also work and maybe a little more portable.
That's also fine, although overkill these days.
All host OSes supported by GNAT (and more) accept the following simpler
and cleaner syntax:
if [ "$main" != "" ]; then
or the other way around as needed here:
if [ "$main" = "" ]; then
Arno
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27476