@@ -121,16 +121,8 @@ if exist src\test\regress\autoinc.dll del /q src\test\regress\autoinc.dll
121
121
if %DIST% == 1 if exist src\test\isolation\specscanner.cdel /q src\test\isolation\specscanner.c
122
122
if %DIST% == 1 if exist src\test\isolation\specparse.cdel /q src\test\isolation\specparse.c
123
123
124
- if exist src\bin\initdb\tmp_checkrd /s /q src\bin\initdb\tmp_check
125
- if exist src\bin\pg_basebackup\tmp_checkrd /s /q src\bin\pg_basebackup\tmp_check
126
- if exist src\bin\pg_config\tmp_checkrd /s /q src\bin\pg_config\tmp_check
127
- if exist src\bin\pg_controldata\tmp_checkrd /s /q src\bin\pg_controldata\tmp_check
128
- if exist src\bin\pg_ctl\tmp_checkrd /s /q src\bin\pg_ctl\tmp_check
129
- if exist src\bin\pg_rewind\tmp_checkrd /s /q src\bin\pg_rewind\tmp_check
130
- if exist src\bin\pg_upgrade\tmp_checkrd /s /q src\bin\pg_upgrade\tmp_check
131
- if exist src\bin\pgbench\tmp_checkrd /s /q src\bin\pgbench\tmp_check
132
- if exist src\bin\scripts\tmp_checkrd /s /q src\bin\scripts\tmp_check
133
- if exist src\test\recovery\tmp_checkrd /s /q src\test\recovery\tmp_check
124
+ for /d%%f in (contrib\* src\bin\* src\test\* src\test\modules\*
125
+ )do if exist %%f \tmp_checkrd /s /q%%f \tmp_check
134
126
135
127
REM Clean up datafiles built with contrib
136
128
REM cd contrib