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

Commit a8da576

Browse files
committed
Restrict overly broad searches, and fix typo, in recent fix. Per Hannes Eder.
1 parent ea72d37 commit a8da576

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/tools/msvc/Install.pm

Lines changed: 4 additions & 5 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.20 2007/09/22 20:38:10 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Install.pm,v 1.21 2007/09/23 20:32:40 adunstan Exp $
77
#
88
use strict;
99
use warnings;
@@ -50,7 +50,7 @@ sub Install
5050
push(@$sample_files, $File::Find::name);
5151
}
5252
},
53-
"../.." );
53+
"src" );
5454
CopySetOfFiles('config files', $sample_files , $target . '/share/');
5555
CopyFiles(
5656
'Import libraries',
@@ -81,7 +81,7 @@ sub Install
8181
[ glob ("src\\backend\\snowball\\stopwords\\*.stop") ],
8282
$target . '/share/tsearch_data/');
8383
CopySetOfFiles('Dictionaries sample files',
84-
[ glob ("src\\backend\\tsearch\\\*_sample.*" ) ],
84+
[ glob ("src\\backend\\tsearch\\*_sample.*" ) ],
8585
$target . '/share/tsearch_data/');
8686
CopyContribFiles($config,$target);
8787
CopyIncludeFiles($target);
@@ -424,7 +424,6 @@ sub GenerateNLSFiles
424424
{
425425
my $target = shift;
426426
my $nlspath = shift;
427-
my $D;
428427

429428
print "Installing NLS files...";
430429
EnsureDirectories($target, "share/locale");
@@ -433,7 +432,7 @@ sub GenerateNLSFiles
433432
sub { /^nls\.mk\z/s &&
434433
! push(@flist, $File::Find::name);
435434
}
436-
}, ".");
435+
}, "src");
437436
foreach (@flist)
438437
{
439438
s/nls.mk/po/;

0 commit comments

Comments
 (0)