diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2015-08-03 19:54:50 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-03 19:55:33 +0200 |
commit | d57ec0028118b6f4436b4d10530ce1957e4b293e (patch) | |
tree | 72d2deb930c4c687f7bf6ad603156e59b2e2f816 /bin/reproducible_openwrt.sh | |
parent | e41a862c7f97ac5749d4797fc227124ea3f743a1 (diff) | |
download | jenkins.debian.net-d57ec0028118b6f4436b4d10530ce1957e4b293e.tar.xz |
reproducible: clone repositories shallowly to speed it up
Diffstat (limited to 'bin/reproducible_openwrt.sh')
-rwxr-xr-x | bin/reproducible_openwrt.sh | 2 |
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) |