mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
build-openssl.bat: Show syntax if required args are missing
This commit is contained in:
parent
14b9e780d4
commit
6d62d2c55d
@ -25,6 +25,8 @@ rem ***************************************************************************
|
|||||||
rem Check we are running on a Windows NT derived OS
|
rem Check we are running on a Windows NT derived OS
|
||||||
if not "%OS%" == "Windows_NT" goto nodos
|
if not "%OS%" == "Windows_NT" goto nodos
|
||||||
setlocal
|
setlocal
|
||||||
|
set VC_VER=
|
||||||
|
set BUILD_PLATFORM=
|
||||||
|
|
||||||
rem Display the help
|
rem Display the help
|
||||||
if /i "%~1" == "" goto syntax
|
if /i "%~1" == "" goto syntax
|
||||||
@ -86,6 +88,10 @@ rem ***************************************************************************
|
|||||||
shift & goto parseArgs
|
shift & goto parseArgs
|
||||||
|
|
||||||
:prerequisites
|
:prerequisites
|
||||||
|
rem Compiler and platform are required parameters.
|
||||||
|
if not defined VC_VER goto syntax
|
||||||
|
if not defined BUILD_PLATFORM goto syntax
|
||||||
|
|
||||||
rem Default the start directory if one isn't specified
|
rem Default the start directory if one isn't specified
|
||||||
if not defined START_DIR set START_DIR=..\..\openssl
|
if not defined START_DIR set START_DIR=..\..\openssl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user