mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Only run contrib check if there is a Makefile
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@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
|
SETLOCAL
|
||||||
SET STARTDIR=%CD%
|
SET STARTDIR=%CD%
|
||||||
@ -79,7 +79,7 @@ REM Check contrib modules
|
|||||||
:contribcheck
|
:contribcheck
|
||||||
cd ..\..\..\contrib
|
cd ..\..\..\contrib
|
||||||
set CONTRIBERROR=0
|
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
|
call :onecontribcheck %%d
|
||||||
if errorlevel 1 set CONTRIBERROR=1
|
if errorlevel 1 set CONTRIBERROR=1
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user