]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
authorDerek R. Price <derek@ximbiot.com>
Fri, 1 Jul 2005 02:19:46 +0000 (02:19 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 1 Jul 2005 02:19:46 +0000 (02:19 +0000)
spaces in paths to executed programs.  Quote path in error message.

ChangeLog
config/ltmain.m4sh

index a98e427f700a55c7501d140c13b788e03cf4b6c5..9d80517d6d8eb12eb9180c1c86879458fb3d88c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-01  Derek R. Price  <derek@ximbiot.com>
+
+       * config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
+       spaces in paths to executed programs.  Quote path in error message.
+
 2005-06-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * THANKS: Updated.
index bdfbab8b4cd650c512e80a533482da9250a091f1..7954fa98533e35a51a3475895179384ade586c93 100644 (file)
@@ -6221,13 +6221,13 @@ else
        # Backslashes separate directories on plain windows
        *-*-mingw | *-*-os2*)
          $ECHO >> $output "\
-      exec \$progdir\\\\\$program \${1+\"\$@\"}
+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
 "
          ;;
 
        *)
          $ECHO >> $output "\
-      exec \$progdir/\$program \${1+\"\$@\"}
+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
 "
          ;;
        esac
@@ -6237,7 +6237,7 @@ else
     fi
   else
     # The program doesn't exist.
-    \$ECHO \"\$0: error: \$progdir/\$program does not exist\" 1>&2
+    \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
     \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
     $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
     exit 1