Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4eb3bd2

Browse files
committed
Fix passing of PRODUCT_NAME to create_help.pl in windows build
1 parent 0730546 commit 4eb3bd2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/msvc/Solution.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ sub GenerateFiles
137137
if ( /^PGPRO_VERSION="\$PACKAGE_VERSION\.(\d+)"/) {
138138
$self->{pgprover} = $1;
139139
}
140+
if ( /^PRODUCT_NAME="([^"]+)"/ ) {
141+
$self->{productname} = $1;
142+
}
140143
}
141144
close($c);
142145
confess "Unable to parse configure.in for all variables!"
@@ -420,6 +423,7 @@ sub GenerateFiles
420423
{
421424
print "Generating sql_help.h...\n";
422425
chdir('src/bin/psql');
426+
$ENV{"PRODUCT_NAME"} = $self->{productname};
423427
system("perl create_help.pl ../../../doc/src/sgml/ref sql_help");
424428
chdir('../../..');
425429
}

0 commit comments

Comments
 (0)