]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.sh: Quote $exec_cmd before it is eval'ed, so that
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 31 Dec 2003 00:31:23 +0000 (00:31 +0000)
committerScott James Remnant <scott@netsplit.com>
Wed, 31 Dec 2003 00:31:23 +0000 (00:31 +0000)
libtool --mode=execute echo '4 * 5' does not expand the `*'.

ChangeLog
ltmain.in

index 4e7cfe8e3d2450be5d5153e97fc157296322e2f2..482b0420710eb396570afa5347f97a31279cc788 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-31  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * ltmain.sh: Quote $exec_cmd before it is eval'ed, so that
+       libtool --mode=execute echo '4 * 5' does not expand the `*'.
+
 2003-11-28  Peter O'Gorman  <peter@pogma.com>
 
        * m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST"
index 06b512540cca159d49d8efa2260c299225b364fd..907cd254cae527927fc8507b8423a7e33282326b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -6357,7 +6357,7 @@ relink_command=\"$relink_command\""
 fi # test -z "$show_help"
 
 if test -n "$exec_cmd"; then
-  eval exec $exec_cmd
+  eval exec "$exec_cmd"
   exit 1
 fi