Skip to content

Commit 1f6fc49

Browse files
committed
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.
1 parent 09bb6f6 commit 1f6fc49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/msvc/Install.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Install;
33
#
44
# Package that provides 'make install' functionality for msvc builds
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.27 2008/02/07 13:49:00 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.28 2008/02/07 17:58:16 mha Exp $
77
#
88
use strict;
99
use warnings;
@@ -476,7 +476,7 @@ sub GenerateNLSFiles
476476

477477
EnsureDirectories($target, "share/locale/$lang", "share/locale/$lang/LC_MESSAGES");
478478
system(
479-
"$nlspath\\bin\\msgfmt -o $target\\share\\locale\\$lang\\LC_MESSAGES\\$prgm.mo $_"
479+
"\"$nlspath\\bin\\msgfmt\" -o \"$target\\share\\locale\\$lang\\LC_MESSAGES\\$prgm.mo\" $_"
480480
)
481481
&& croak("Could not run msgfmt on $dir\\$_");
482482
print ".";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy