bug-libtool
[Top][All Lists]
Advanced

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

Re: [1/3] Use $SED instead of sed in ltmain.m4sh


From: Yann Droneaud
Subject: Re: [1/3] Use $SED instead of sed in ltmain.m4sh
Date: Wed, 10 Dec 2008 17:37:46 +0100

There is no reason not to use the $SED so let's use it.

---
 libltdl/config/ltmain.m4sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 2769149..76e15fc 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1211,7 +1211,7 @@ if $opt_help; then
       for mode in compile link execute install finish uninstall clean; do
        func_mode_help
       done
-    } | sed -n '1p; 2,$s/^Usage:/  or: /p'
+    } | $SED -n '1p; 2,$s/^Usage:/  or: /p'
     {
       func_help noexit
       for mode in compile link execute install finish uninstall clean; do
@@ -1219,7 +1219,7 @@ if $opt_help; then
        func_mode_help
       done
     } |
-    sed '1d
+    $SED '1d
       /^When reporting/,/^Report/{
        H
        d
@@ -1908,7 +1908,7 @@ func_generate_dlsyms ()
     my_outputname="$1"
     my_originator="$2"
     my_pic_p="${3-no}"
-    my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
+    my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
     my_dlsyms=
 
     if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
-- 
1.6.0.2






reply via email to

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