From 7983eaf90b934b01292e7e41e9b54f368eaee7dd Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 31 Dec 2003 00:31:23 +0000 Subject: [PATCH] * ltmain.sh: Quote $exec_cmd before it is eval'ed, so that libtool --mode=execute echo '4 * 5' does not expand the `*'. --- ChangeLog | 5 +++++ ltmain.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4e7cfe8e..482b0420 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 06b51254..907cd254 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