From e1f1a5358bd9f775fca3f0c6676f8a265cbf552d Mon Sep 17 00:00:00 2001
From: Andrew Dunstan <andrew@dunslane.net>
Date: Fri, 6 Apr 2007 13:44:39 +0000
Subject: [PATCH] Only run contrib check if there is a Makefile

---
 src/tools/msvc/vcregress.bat | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tools/msvc/vcregress.bat b/src/tools/msvc/vcregress.bat
index 44fe4afd767..6bb115023e3 100644
--- a/src/tools/msvc/vcregress.bat
+++ b/src/tools/msvc/vcregress.bat
@@ -1,5 +1,5 @@
 @echo off
-REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.9 2007/04/05 12:31:36 mha Exp $
+REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.10 2007/04/06 13:44:39 adunstan Exp $
 
 SETLOCAL
 SET STARTDIR=%CD%
@@ -79,7 +79,7 @@ REM Check contrib modules
 :contribcheck
 cd ..\..\..\contrib
 set CONTRIBERROR=0
-for /d %%d IN (*) do if exist %%d\sql if exist %%d\expected (
+for /d %%d IN (*) do if exist %%d\sql if exist %%d\expected if exist %%d\Makefile (
    call :onecontribcheck %%d
    if errorlevel 1 set CONTRIBERROR=1
 )
-- 
GitLab