From b821058b740ab0375fb494ade9eadeca22eed7b8 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 5 Apr 2011 13:44:49 +0000 Subject: [PATCH] cosmetics git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@385 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- build.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.bat b/build.bat index fa9c203b2..ffdb6828f 100644 --- a/build.bat +++ b/build.bat @@ -43,7 +43,7 @@ POPD IF /I "%BUILDTYPE%" == "Clean" GOTO END -CALL :SubDetectInno +CALL :SubDetectInnoSetup IF DEFINED InnoSetupPath ( PUSHD "installer" @@ -75,7 +75,7 @@ ENDLOCAL EXIT -:SubDetectInno +:SubDetectInnoSetup REM Detect if we are running on 64bit WIN and use Wow6432Node, and set the path REM of Inno Setup accordingly IF "%PROGRAMFILES(x86)%zzz"=="zzz" ( @@ -86,10 +86,10 @@ IF "%PROGRAMFILES(x86)%zzz"=="zzz" ( FOR /F "delims=" %%a IN ( 'REG QUERY "%U_%\Inno Setup 5_is1" /v "Inno Setup: App Path"2^>Nul^|FIND "REG_"') DO ( - SET "InnoSetupPath=%%a" & CALL :SubIS %%InnoSetupPath:*Z=%%) + SET "InnoSetupPath=%%a" & CALL :SubInnoSetup %%InnoSetupPath:*Z=%%) EXIT /B -:SubIS +:SubInnoSetup SET InnoSetupPath=%* EXIT /B