From: Alexandre Duret-Lutz Date: Wed, 31 Dec 2003 00:31:23 +0000 (+0000) Subject: * ltmain.sh: Quote $exec_cmd before it is eval'ed, so that X-Git-Tag: release-1-9b~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7983eaf90b934b01292e7e41e9b54f368eaee7dd;p=thirdparty%2Flibtool.git * ltmain.sh: Quote $exec_cmd before it is eval'ed, so that libtool --mode=execute echo '4 * 5' does not expand the `*'. --- diff --git a/ChangeLog b/ChangeLog index 4e7cfe8e3..482b04207 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-31 Alexandre Duret-Lutz + + * 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 * m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST" diff --git a/ltmain.in b/ltmain.in index 06b512540..907cd254c 100644 --- 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