]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (exec_cmd): Fix quoting in execute mode so that the
authorGary V. Vaughan <gary@gnu.org>
Mon, 13 Aug 2001 23:11:48 +0000 (23:11 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 13 Aug 2001 23:11:48 +0000 (23:11 +0000)
double quotes added by libtool (to prevent lossage with embedded
spaces in filenames etc.) are not interpreted as literals by the
shell.

ChangeLog
ltmain.in

index 05758b902cc41d23d4cef81dc3fc3d17d66608a0..0c8b16301d08ccfb6cee01ea443cbf4dd36de474 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-14  Gary V. Vaughan  <gary@gnu.org>
+
+       * ltmain.in (exec_cmd): Fix quoting in execute mode so that the
+       double quotes added by libtool (to prevent lossage with embedded
+       spaces in filenames etc.) are not interpreted as literals by the
+       shell.
+
 2001-08-13  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/ltdl.c (find_file_callback): Fix a multiple free()
index d3d0535e8e561ff38eca77624f0802c0f25d2a78..473e0640672b9acd6257fbff5fff8fead9f22be4 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -5095,7 +5095,7 @@ relink_command=\"$relink_command\""
       fi
 
       # Now prepare to actually exec the command.
-      exec_cmd='"$cmd"$args'
+      exec_cmd="\$cmd$args"
     else
       # Display what would be done.
       if test -n "$shlibpath_var"; then