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