aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-05-20 07:01:22 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-05-20 00:22:52 +0100
commit0c467c9cc7e0dbfd53f53a03405aba7294cb32b5 (patch)
treead2d543de8f9646395f975740eca9c0bc683df7e
parentf5e73640f091909654916d813731303023440c04 (diff)
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.
-rw-r--r--projects/build-openssl.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index e0019cdb7..4395f83ca 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, <steve_holme@hotmail.com>
+rem * Copyright (C) 2012 - 2014, Steve Holme, <steve_holme@hotmail.com>.
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%"