aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBob Beck <beck@rocinante.obtuse.com>2014-07-10 08:05:45 -0600
committerBob Beck <beck@rocinante.obtuse.com>2014-07-10 08:05:45 -0600
commitb3543f9c59ad616148915e857184e914f06c2dbc (patch)
treeb5d582c3874c99582d306f6b49c334c995dee46f /update.sh
parente01095e6157fac15f2902c5e73a9c43b3973700b (diff)
downloadportable-b3543f9c59ad616148915e857184e914f06c2dbc.tar.gz
portable-b3543f9c59ad616148915e857184e914f06c2dbc.tar.bz2
portable-b3543f9c59ad616148915e857184e914f06c2dbc.zip
add LIBRESSL_GIT environment variable
Allows for eventual public github default, which can be easily overridden by developers.
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 5 insertions, 1 deletions
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
6git submodule init 6git submodule init
7git submodule update 7git submodule update
8else 8else
9git submodule add /cvs.b/libressl/openbsd 9if [ -z "$LIBRESSL_GIT" ]; then
10git submodule add https://github.com/libressl-portable/openbsd.git
11else
12git submodule add $LIBRESSL_GIT/openbsd
10git submodule update 13git submodule update
11fi 14fi
15fi
12 16
13libssl_src=openbsd/src/lib/libssl 17libssl_src=openbsd/src/lib/libssl
14libssl_regress=openbsd/src/regress/lib/libssl 18libssl_regress=openbsd/src/regress/lib/libssl