Skip to content

Commit

Permalink
[install] Exit setup.bat with an error if applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Oct 29, 2009
1 parent 77beee8 commit 98feaf6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions bin/setup.bat
Expand Up @@ -8,12 +8,10 @@ if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set cpu=amd64
if "%PROCESSOR_ARCHITEW6432%"=="AMD64" set cpu=amd64
if "%cpu%"=="" goto cpuerror

%0\..\%cpu%\setup.exe
goto :end
%0\..\%cpu%\setup.exe || exit /B 1
exit /B

:cpuerror
echo Could not determine CPU type
pause
goto :end

:end
exit /B 1

0 comments on commit 98feaf6

Please sign in to comment.