]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
set vcredist before the if
authorMark Andrews <marka@isc.org>
Thu, 28 Jun 2007 06:17:24 +0000 (06:17 +0000)
committerMark Andrews <marka@isc.org>
Thu, 28 Jun 2007 06:17:24 +0000 (06:17 +0000)
win32utils/BuildSetup.bat

index 056e2419f5144c0280348698cf1e89bbb7ad8902..bfa2ed1cd56a3f12e4ef829f3454af4e3ab3b97a 100644 (file)
@@ -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