From: Steve Holme Date: Tue, 20 May 2014 06:01:22 +0000 (+0100) Subject: build-openssl.bat: Added default source directory when not specified X-Git-Tag: curl-7_37_0~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c467c9cc7e0dbfd53f53a03405aba7294cb32b5;p=thirdparty%2Fcurl.git build-openssl.bat: Added default source directory when not specified Added a default source directory so the user doesn't have to specify one - the same as that, which the Visual Studio project files expect the OpenSSL dependencies to be in. --- diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat index e0019cdb71..4395f83cac 100644 --- a/projects/build-openssl.bat +++ b/projects/build-openssl.bat @@ -6,7 +6,7 @@ rem * / __| | | | |_) | | rem * | (__| |_| | _ <| |___ rem * \___|\___/|_| \_\_____| rem * -rem * Copyright (C) 2012 - 2014, Steve Holme, +rem * Copyright (C) 2012 - 2014, Steve Holme, . rem * rem * This software is licensed as described in the file COPYING, which rem * you should have received as part of this distribution. The terms @@ -86,6 +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 Calculate the program files directory if defined PROGRAMFILES ( set "PF=%PROGRAMFILES%"