aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2024-03-20 17:52:50 +0000
committerViktor Szakats <commit@vsz.me>2024-03-20 17:55:45 +0000
commit24bb326b72218486fbae858bbbf4f4eb1039caeb (patch)
treeeeb62310f625e161b0dd2184da21dfde8737584a
parent55f21a399f56695990d5495384146b55a5e56823 (diff)
downloadportable-24bb326b72218486fbae858bbbf4f4eb1039caeb.tar.gz
portable-24bb326b72218486fbae858bbbf4f4eb1039caeb.tar.bz2
portable-24bb326b72218486fbae858bbbf4f4eb1039caeb.zip
update.sh: use shallow clone to spare time/bandwidth
-rwxr-xr-xupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 95d852c..21a3682 100755
--- a/update.sh
+++ b/update.sh
@@ -7,9 +7,9 @@ openbsd_branch=`cat OPENBSD_BRANCH`
7echo "pulling upstream openbsd source" 7echo "pulling upstream openbsd source"
8if [ ! -d openbsd ]; then 8if [ ! -d openbsd ]; then
9 if [ -z "$LIBRESSL_GIT" ]; then 9 if [ -z "$LIBRESSL_GIT" ]; then
10 git clone https://github.com/libressl/openbsd.git 10 git clone --depth=8 https://github.com/libressl/openbsd.git
11 else 11 else
12 git clone $LIBRESSL_GIT/openbsd 12 git clone --depth=8 $LIBRESSL_GIT/openbsd
13 fi 13 fi
14fi 14fi
15 15