diff options
| author | Viktor Szakats <commit@vsz.me> | 2024-03-20 17:52:50 +0000 |
|---|---|---|
| committer | Viktor Szakats <commit@vsz.me> | 2024-03-20 17:55:45 +0000 |
| commit | 24bb326b72218486fbae858bbbf4f4eb1039caeb (patch) | |
| tree | eeb62310f625e161b0dd2184da21dfde8737584a | |
| parent | 55f21a399f56695990d5495384146b55a5e56823 (diff) | |
| download | portable-24bb326b72218486fbae858bbbf4f4eb1039caeb.tar.gz portable-24bb326b72218486fbae858bbbf4f4eb1039caeb.tar.bz2 portable-24bb326b72218486fbae858bbbf4f4eb1039caeb.zip | |
update.sh: use shallow clone to spare time/bandwidth
| -rwxr-xr-x | update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -7,9 +7,9 @@ openbsd_branch=`cat OPENBSD_BRANCH` | |||
| 7 | echo "pulling upstream openbsd source" | 7 | echo "pulling upstream openbsd source" |
| 8 | if [ ! -d openbsd ]; then | 8 | if [ ! -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 |
| 14 | fi | 14 | fi |
| 15 | 15 | ||
