summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_netbsd.sh
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2015-08-03 19:54:50 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-03 19:55:33 +0200
commitd57ec0028118b6f4436b4d10530ce1957e4b293e (patch)
tree72d2deb930c4c687f7bf6ad603156e59b2e2f816 /bin/reproducible_netbsd.sh
parente41a862c7f97ac5749d4797fc227124ea3f743a1 (diff)
downloadjenkins.debian.net-d57ec0028118b6f4436b4d10530ce1957e4b293e.tar.xz
reproducible: clone repositories shallowly to speed it up
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-xbin/reproducible_netbsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 8c27847a..ff43d40a 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -47,7 +47,7 @@ cd $TMPBUILDDIR
echo "============================================================================="
echo "$(date -u) - Cloning the netbsd git repository (which is autosynced with their CVS repository)"
echo "============================================================================="
-git clone https://github.com/jsonn/src
+git clone --depth 1 https://github.com/jsonn/src
mv src netbsd
cd netbsd
NETBSD="$(git log -1)"