From: Derek R. Price Date: Fri, 1 Jul 2005 02:19:46 +0000 (+0000) Subject: * config/ltmain.m4sh (func_mode_link) : Handle X-Git-Tag: release-2-1b~621 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=806b1a49407b499109411eea35d88fa33d4019cd;p=thirdparty%2Flibtool.git * config/ltmain.m4sh (func_mode_link) : Handle spaces in paths to executed programs. Quote path in error message. --- diff --git a/ChangeLog b/ChangeLog index a98e427f7..9d80517d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-01 Derek R. Price + + * config/ltmain.m4sh (func_mode_link) : Handle + spaces in paths to executed programs. Quote path in error message. + 2005-06-29 Ralf Wildenhues * THANKS: Updated. diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index bdfbab8b4..7954fa985 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -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