summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt.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_openwrt.sh
parente41a862c7f97ac5749d4797fc227124ea3f743a1 (diff)
downloadjenkins.debian.net-d57ec0028118b6f4436b4d10530ce1957e4b293e.tar.xz
reproducible: clone repositories shallowly to speed it up
Diffstat (limited to 'bin/reproducible_openwrt.sh')
-rwxr-xr-xbin/reproducible_openwrt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 621ee73e..d22a22b2 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -149,7 +149,7 @@ cd $TMPBUILDDIR
echo "============================================================================="
echo "$(date -u) - Cloning the OpenWrt git repository."
echo "============================================================================="
-git clone git://git.openwrt.org/openwrt.git
+git clone --depth 1 git://git.openwrt.org/openwrt.git
cd openwrt
OPENWRT="$(git log -1)"
OPENWRT_VERSION=$(git describe --always)