mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
update.sh: use shallow clone to spare time/bandwidth
This commit is contained in:
@@ -7,9 +7,9 @@ openbsd_branch=`cat OPENBSD_BRANCH`
|
||||
echo "pulling upstream openbsd source"
|
||||
if [ ! -d openbsd ]; then
|
||||
if [ -z "$LIBRESSL_GIT" ]; then
|
||||
git clone https://github.com/libressl/openbsd.git
|
||||
git clone --depth=8 https://github.com/libressl/openbsd.git
|
||||
else
|
||||
git clone $LIBRESSL_GIT/openbsd
|
||||
git clone --depth=8 $LIBRESSL_GIT/openbsd
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user