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: Tim Van Holder
Subject: Re: Pending release of 1.5
Date: 12 Feb 2003 12:55:12 +0100

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>





reply via email to

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