[PATCH, committed] Fix config.gcc shell lossage

Andreas Schwab schwab@suse.de
Tue Jun 10 17:26:00 GMT 2008


Ian Lance Taylor <iant@google.com> writes:

> Michael Meissner <michael.meissner@amd.com> writes:
>
>> -	if test $enable_cld = yes; then
>> +	if test "x$enable_cld" = xyes; then
>
> I'll just note that you don't need to use both a prefix and
> doublequotes.  Either one alone suffices.

Unless $enable_cld can contain whitespace, which it can.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list