From: Andrew Dunstan <andrew@dunslane.net>
Date: Thu, 2 Jul 2015 03:28:41 +0000 (-0400)
Subject: Allow MSVC's contribcheck and modulescheck to run independently.
X-Git-Tag: REL9_5_ALPHA2~155
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1d273efde7828947e52bb531851f67f91c628c3;p=postgresql

Allow MSVC's contribcheck and modulescheck to run independently.

These require a temp install to have been done, so we now make sure it
is done before proceeding.

Michael Paquier.
---

diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index ddb628d154..6196383615 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -290,6 +290,7 @@ sub subdircheck
 
 sub contribcheck
 {
+	InstallTemp();
 	chdir "$topdir/contrib";
 	foreach my $module (glob("*"))
 	{
@@ -309,6 +310,7 @@ sub contribcheck
 
 sub modulescheck
 {
+	InstallTemp();
 	chdir "$topdir/src/test/modules";
 	foreach my $module (glob("*"))
 	{