From: Magnus Hagander Date: Thu, 7 Feb 2008 17:58:16 +0000 (+0000) Subject: Fix msvc install for cases where msgfmt (from gettext) is in a directory X-Git-Tag: REL8_3_1~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f6fc49ce3bed65c3e6f12eb9cb4d677e7bb6e3a;p=postgresql Fix msvc install for cases where msgfmt (from gettext) is in a directory that contains spaces. Per complaint from Gevik Babakhani, like the last one. --- diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm index f052d3bc3c..7ada204c95 100644 --- a/src/tools/msvc/Install.pm +++ b/src/tools/msvc/Install.pm @@ -3,7 +3,7 @@ package Install; # # Package that provides 'make install' functionality for msvc builds # -# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.27 2008/02/07 13:49:00 mha Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.28 2008/02/07 17:58:16 mha Exp $ # use strict; use warnings; @@ -476,7 +476,7 @@ sub GenerateNLSFiles EnsureDirectories($target, "share/locale/$lang", "share/locale/$lang/LC_MESSAGES"); system( -"$nlspath\\bin\\msgfmt -o $target\\share\\locale\\$lang\\LC_MESSAGES\\$prgm.mo $_" +"\"$nlspath\\bin\\msgfmt\" -o \"$target\\share\\locale\\$lang\\LC_MESSAGES\\$prgm.mo\" $_" ) && croak("Could not run msgfmt on $dir\\$_"); print ".";