bug-libtool
[Top][All Lists]
Advanced

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

libtool-1.4.2 -- ltmain.sh syntax problems (fwd)


From: Peter Breitenlohner
Subject: libtool-1.4.2 -- ltmain.sh syntax problems (fwd)
Date: Sun, 28 Jul 2002 16:57:49 +0200 (CEST)

I am sending this again, this time with the attachment. Sorry

---------- Forwarded message ----------
Date: Sun, 28 Jul 2002 16:53:43 +0200 (CEST)
From: Peter Breitenlohner <address@hidden>
To: address@hidden
Subject: libtool-1.4.2 -- ltmain.sh syntax problems

Hi,

in order to avoid various
        libtool: test: =: unary operator expected
messages (from bash), I had to apply the attached patch to libtool-1.4.2 .
I am not entirely sure which of the changes were necessary, but in any case
it would be good programming practice to replace all remaining occurences of
        test $var = val         (or test $var != val)
by
        test "$var" = val       (or test "$var" != val)
except possibly where it is absolutely sure that the value of var is OK.

regards
Peter Breitenlohner <address@hidden>

Attachment: libtool-1.4.2-diffs
Description: Text document


reply via email to

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