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