add LIBRESSL_GIT environment variable

Allows for eventual public github default, which can be easily
overridden by developers.
This commit is contained in:
Bob Beck 2014-07-10 08:05:45 -06:00
parent e01095e615
commit b3543f9c59

View File

@ -6,9 +6,13 @@ if [ -d openbsd ]; then
git submodule init
git submodule update
else
git submodule add /cvs.b/libressl/openbsd
if [ -z "$LIBRESSL_GIT" ]; then
git submodule add https://github.com/libressl-portable/openbsd.git
else
git submodule add $LIBRESSL_GIT/openbsd
git submodule update
fi
fi
libssl_src=openbsd/src/lib/libssl
libssl_regress=openbsd/src/regress/lib/libssl