]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_8] fixed win32 buildsetup glitch v9.8.6b1
authorEvan Hunt <each@isc.org>
Tue, 2 Jul 2013 03:11:52 +0000 (20:11 -0700)
committerEvan Hunt <each@isc.org>
Tue, 2 Jul 2013 03:16:06 +0000 (20:16 -0700)
(cherry picked from commit 9fce471584da910407c5b998306ee6609bc7ccc2)

win32utils/BuildSetup.bat

index 182e897d92f4165b27dcb8946bd25a5715719507..7ac6baa3a6dd0d6cb20d8d1d315622e23d370f2b 100644 (file)
@@ -95,7 +95,7 @@ if Exist "%VCRedistPath%" (
 echo Copying Visual C x86 Redistributable Installer
 
 rem
-rem Use /Y so we allways have the current version of the installer.
+rem Use /Y so we always have the current version of the installer.
 rem
 
 copy /Y "%VCRedistPath%" ..\Build\Release\
@@ -108,17 +108,12 @@ copy /Y   "%VCRedistPath%" ..\Build\Debug\
 )
 ) else (
 
-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 
-if Exist "%FrameworkSDKDir%\%vcredist%" (
+if Exist "%FrameworkSDKDir%\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe" (
 
 echo Copying Visual C x86 Redistributable Installer
 
@@ -126,8 +121,8 @@ rem
 rem Use /Y so we allways have the current version of the installer.
 rem
 
-copy /Y "%FrameworkSDKDir%\%vcredist%" ..\Build\Release\
-copy /Y "%FrameworkSDKDir%\%vcredist%" ..\Build\Debug\
+copy /Y "%FrameworkSDKDir%\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe"  ..\Build\Release\
+copy /Y "%FrameworkSDKDir%\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe"  ..\Build\Debug\
 
 ) else (
        echo "**** %FrameworkSDKDir%\%vcredist% not found ****"