Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6cc0213

Browse files
committed
Properly set MODULE_PATHNAME based on module name instead of incorrectly based
on directory name. Fixes the generation of .sql files in contrib/spi.Per complaint from Dave Page.
1 parent85a3fce commit6cc0213

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Mkvcbuild;
33
#
44
# Package that generates build files for msvc build
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.10 2007/04/26 14:09:12 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.11 2007/04/27 16:45:54 mha Exp $
77
#
88
use Carp;
99
use Win32;
@@ -448,7 +448,8 @@ sub GenerateContribSqlFiles
448448
{
449449
print"Building$out from$in (contrib/$n)...\n";
450450
my$cont = Project::read_file("contrib/$n/$in");
451-
my$dn =$n;
451+
my$dn =$out;
452+
$dn =~s/\.sql$//;
452453
if ($mf =~/^MODULE_big\s*=\s*(.*)$/m) {$dn =$1 }
453454
$cont =~s/MODULE_PATHNAME/\$libdir\/$dn/g;
454455
my$o;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp