]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in, libtoolize.in, commit, mailnotify: Remove
authorScott James Remnant <scott@netsplit.com>
Thu, 12 Feb 2004 19:24:00 +0000 (19:24 +0000)
committerScott James Remnant <scott@netsplit.com>
Thu, 12 Feb 2004 19:24:00 +0000 (19:24 +0000)
$SED from definitions of $dirname and $basename and prefix each
use with it instead.  Some shells (zsh) treat the expansion as
a single command instead of a command with arguments.

* mailnotify (func_sendmail): Look for sendmail in a

ChangeLog
commit
ltmain.in
mailnotify

index 2ebe500e56b0973252c745f7b5523d33101da02f..8e3286220ad3d52a7eb476cf1427b36cb816890d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
 2004-02-12  Scott James Remnant  <scott@netsplit.com>
 
-       * config/mailnotify (func_sendmail): Look for sendmail in a
+       * ltmain.in, libtoolize.in, commit, mailnotify: Remove
+       $SED from definitions of $dirname and $basename and prefix each
+       use with it instead.  Some shells (zsh) treat the expansion as
+       a single command instead of a command with arguments.
+
+2004-02-12  Scott James Remnant  <scott@netsplit.com>
+
+       * mailnotify (func_sendmail): Look for sendmail in a
        couple of common non-PATH locations as well.
 
 2004-02-12  Gary V. Vaughan  <gary@gnu.org>
diff --git a/commit b/commit
index 9b11be72b07df9ed153e0c037c7869ccccdfe028..0df38c2219aad864d5fc95c91416be14038a3a10 100755 (executable)
--- a/commit
+++ b/commit
@@ -73,8 +73,8 @@
 : ${RM="rm -f"}
 : ${SED="sed"}
 
-dirname="$SED s,/[^/]*$,,"
-basename="$SED s,^.*/,,g"
+dirname="s,/[^/]*$,,"
+basename="s,^.*/,,g"
 
 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
 # is ksh but when the shell is invoked as "sh" and the current value of
@@ -84,7 +84,7 @@ basename="$SED s,^.*/,,g"
 progpath="$0"
 
 # The name of this program:
-progname=`echo "$progpath" | $basename`
+progname=`echo "$progpath" | $SED $basename`
 PROGRAM=clcommit
 
 # Global variables:
index f76c9502d1487a975f5c78546e061cfc389e26ff..a27d7de5ece52f280b3a55314be4139969ef3c04 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -24,7 +24,7 @@
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
-basename="$SED s,^.*/,,g"
+basename="s,^.*/,,g"
 
 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
 # is ksh but when the shell is invoked as "sh" and the current value of
@@ -34,7 +34,7 @@ basename="$SED s,^.*/,,g"
 progpath="$0"
 
 # The name of this program:
-progname=`echo "$progpath" | $basename`
+progname=`echo "$progpath" | $SED $basename`
 modename="$progname"
 
 # Global variables:
index a9b07d90818dd3c3c21419459d1130a4cbb7a4f3..a6e9c638bbfb43076708b24491054b6846a9cb7c 100755 (executable)
@@ -61,8 +61,8 @@
 : ${RM="rm -f"}
 : ${SED="sed"}
 
-dirname="$SED s,/[^/]*$,,"
-basename="$SED s,^.*/,,g"
+dirname="s,/[^/]*$,,"
+basename="s,^.*/,,g"
 
 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
 # is ksh but when the shell is invoked as "sh" and the current value of
@@ -72,7 +72,7 @@ basename="$SED s,^.*/,,g"
 progpath="$0"
 
 # The name of this program:
-progname=`echo "$progpath" | $basename`
+progname=`echo "$progpath" | $SED $basename`
 PROGRAM=mailnotify
 
 # Global variables: