From: Mark Andrews Date: Thu, 28 Jun 2007 04:55:51 +0000 (+0000) Subject: set vcredist before the if X-Git-Tag: v9.2.0b1^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=685388d595ea5916648f434d9c56115bb2b6c9cc;p=thirdparty%2Fbind9.git set vcredist before the if --- diff --git a/win32utils/BuildSetup.bat b/win32utils/BuildSetup.bat index cfc1ea67a34..ac8646790b2 100644 --- a/win32utils/BuildSetup.bat +++ b/win32utils/BuildSetup.bat @@ -57,14 +57,17 @@ echo Copying the OpenSSL DLL. copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Release\ copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Debug +rem +rem set vcredist here so that it is correctly expanded in the if body +rem +set vcredist=BootStrapper\Packages\vcredist_x86\vcredist_x86.exe + if Defined FrameworkSDKDir ( rem rem vcredist_x86.exe path relative to FrameworkSDKDir rem -set vcredist=BootStrapper\Packages\vcredist_x86\vcredist_x86.exe - if Exist "%FrameworkSDKDir%\%vcredist%" ( echo Copying Visual C x86 Redistributable Installer