Commit 1f6fc49c authored by Magnus Hagander's avatar Magnus Hagander

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.
parent 09bb6f6e
...@@ -3,7 +3,7 @@ package Install; ...@@ -3,7 +3,7 @@ package Install;
# #
# Package that provides 'make install' functionality for msvc builds # 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 strict;
use warnings; use warnings;
...@@ -476,7 +476,7 @@ sub GenerateNLSFiles ...@@ -476,7 +476,7 @@ sub GenerateNLSFiles
EnsureDirectories($target, "share/locale/$lang", "share/locale/$lang/LC_MESSAGES"); EnsureDirectories($target, "share/locale/$lang", "share/locale/$lang/LC_MESSAGES");
system( 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\\$_"); && croak("Could not run msgfmt on $dir\\$_");
print "."; print ".";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment