From b3543f9c59ad616148915e857184e914f06c2dbc Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Thu, 10 Jul 2014 08:05:45 -0600 Subject: [PATCH] add LIBRESSL_GIT environment variable Allows for eventual public github default, which can be easily overridden by developers. --- update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 7e118bf..bc2d755 100755 --- a/update.sh +++ b/update.sh @@ -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