libtool-patches
[Top][All Lists]
Advanced

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

Nit in func_win32_libid (branch-1.5)


From: Charles Wilson
Subject: Nit in func_win32_libid (branch-1.5)
Date: Wed, 09 Nov 2005 22:07:47 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

This has been bugging me since we last looked at this piece of code (2005-09-25) and we didn't take the opportunity to fix it then.

Should be obvious...also "needed" in ltmain.m4sh of HEAD.

2005-11-09  Charles Wilson  <address@hidden>

        * ltmain.in (func_win32_libid): use $SED not sed.

--
Chuck
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.94
diff -u -r1.334.2.94 ltmain.in
--- ltmain.in   7 Nov 2005 22:54:24 -0000       1.334.2.94
+++ ltmain.in   10 Nov 2005 02:54:19 -0000
@@ -157,7 +157,7 @@
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
       $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
       win32_nmres=`eval $NM -f posix -A $1 | \
-       sed -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
+       $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
       case $win32_nmres in
       import*)  win32_libid_type="x86 archive import";;
       *)        win32_libid_type="x86 archive static";;

reply via email to

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