Skip to content

Commit e5b5739

Browse files
committed
Use proper search for contrib makefiles in vcregress.pl
1 parent 3f2a191 commit e5b5739

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# -*-perl-*- hey - emacs - this is a perl file
33

4-
# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.2 2007/09/24 21:14:54 adunstan Exp $
4+
# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.3 2007/09/24 21:42:34 adunstan Exp $
55

66
use strict;
77

@@ -188,7 +188,9 @@ sub contribcheck
188188
my $mstat = 0;
189189
foreach my $module (glob("*"))
190190
{
191-
next unless -d "$module/sql" && -d "$module/expected" && -f "Makefile";
191+
next unless -d "$module/sql" &&
192+
-d "$module/expected" &&
193+
(-f "$module/Makefile" || -f "$module/GNUmakefile");
192194
chdir $module;
193195
print "============================================================\n";
194196
print "Checking $module\n";
@@ -211,7 +213,7 @@ sub fetchTests
211213

212214
my $handle;
213215
open($handle,"<Makefile")
214-
|| open($handle,"<GNUMakefile")
216+
|| open($handle,"<GNUmakefile")
215217
|| die "Could not open Makefile";
216218
local($/) = undef;
217219
my $m = <$handle>;

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