libtool-patches
[Top][All Lists]
Advanced

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

RE: Pending release of 1.5


From: Boehne, Robert
Subject: RE: Pending release of 1.5
Date: Wed, 12 Feb 2003 11:07:59 -0600

Tim,

So are you saying that the instances of ${shared_ext} should be escaped
as \${shared_ext} ?  If we append a "\" to the front it will work
when shared_ext=.so but not when shared_ext="" so I'm not sure how
to go about fixing this.

Robert

-----Original Message-----
From: Tim Van Holder [mailto:address@hidden
Sent: Wednesday, February 12, 2003 5:55 AM
To: Robert Boehne
Cc: Schleicher Ralph (LLI); address@hidden
Subject: Re: Pending release of 1.5


On Wed, 2003-02-12 at 10:14, Robert Boehne wrote:
> is not right.  The "\" before the "." is there to prevent
> "." from being a regular expression matching any character.
> So this should have been:
>  $SED -e "s/${shared_ext}\..*/${shared_ext}/"

Unfortunately, since $shared_ext will be '.so' and not '\.so', the
sed above mishandles names like libalso.so.5 (turning it into 'liba.so'
instead of 'libalso.so')...
For maximum robustness, $shared_ext needs to be transformed to a valid
regex before this sed can run.

-- 
Tim Van Holder <address@hidden>



_______________________________________________
Libtool-patches mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/libtool-patches




reply via email to

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