diff options
Diffstat (limited to 'projects/build-openssl.bat')
-rw-r--r-- | projects/build-openssl.bat | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat index 409c5da38..e2bcf751e 100644 --- a/projects/build-openssl.bat +++ b/projects/build-openssl.bat @@ -27,12 +27,9 @@ rem *************************************************************************** setlocal set VC_VER= set BUILD_PLATFORM= - - rem Display the help + + rem Ensure we have the required arguments if /i "%~1" == "" goto syntax - if /i "%~1" == "-?" goto syntax - if /i "%~1" == "-h" goto syntax - if /i "%~1" == "-help" goto syntax :parseArgs if "%~1" == "" goto prerequisites @@ -81,6 +78,12 @@ rem *************************************************************************** set BUILD_CONFIG=debug ) else if /i "%~1%" == "release" ( set BUILD_CONFIG=release + ) else if /i "%~1" == "-?" ( + goto syntax + ) else if /i "%~1" == "-h" ( + goto syntax + ) else if /i "%~1" == "-help" ( + goto syntax ) else ( if not defined START_DIR ( set START_DIR=%~1% |