diff options
Diffstat (limited to 'projects')
-rw-r--r-- | projects/build-openssl.bat | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat index 66c8c9a04..5bd2200f8 100644 --- a/projects/build-openssl.bat +++ b/projects/build-openssl.bat @@ -86,9 +86,9 @@ rem *************************************************************************** shift & goto parseArgs :prerequisites - rem Default the start directory if one isn't specified
- if not defined START_DIR set START_DIR=..\..\openssl
-
+ rem Default the start directory if one isn't specified + if not defined START_DIR set START_DIR=..\..\openssl + rem Calculate the program files directory if defined PROGRAMFILES ( set "PF=%PROGRAMFILES%" @@ -104,9 +104,9 @@ rem *************************************************************************** rem Check we have Visual Studio installed if not exist "%PF%\%VC_PATH%" goto novc -
- rem Check the start directory exists
- if not exist "%START_DIR%" goto noopenssl
+ + rem Check the start directory exists + if not exist "%START_DIR%" goto noopenssl :configure if "%BUILD_PLATFORM%" == "" ( @@ -260,7 +260,7 @@ rem *************************************************************************** :syntax rem Display the help echo. - echo Usage: build-openssl ^<compiler^> ^<platform^> [configuration] [directory]
+ echo Usage: build-openssl ^<compiler^> ^<platform^> [configuration] [directory] echo. echo Compiler: echo. @@ -308,16 +308,16 @@ rem *************************************************************************** echo Error: %VC_DESC% is not installed goto error -:nox64
- echo.
- echo Error: %VC_DESC% does not support 64-bit builds
- goto error
-
-:noopenssl
- echo.
- echo Error: Cannot locate OpenSSL source directory
- goto error
-
+:nox64 + echo. + echo Error: %VC_DESC% does not support 64-bit builds + goto error + +:noopenssl + echo. + echo Error: Cannot locate OpenSSL source directory + goto error + :error if "%OS%" == "Windows_NT" endlocal exit /B 1 |