Commit 0c467c9c authored by Steve Holme's avatar Steve Holme
Browse files

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.
parent f5e73640
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ rem * / __| | | | |_) | |
rem *                            | (__| |_| |  _ <| |___
rem *                            | (__| |_| |  _ <| |___
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 *
rem * This software is licensed as described in the file COPYING, which
rem * This software is licensed as described in the file COPYING, which
rem * you should have received as part of this distribution. The terms
rem * you should have received as part of this distribution. The terms
@@ -86,6 +86,9 @@ rem ***************************************************************************
  shift & goto parseArgs
  shift & goto parseArgs


:prerequisites
: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
  rem Calculate the program files directory
  if defined PROGRAMFILES (
  if defined PROGRAMFILES (
    set "PF=%PROGRAMFILES%"
    set "PF=%PROGRAMFILES%"