summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-10-12 23:25:05 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-12 23:33:10 +0200
commit95e53b50f5130b7b9dba679ae0be2864df634e40 (patch)
tree5ce94bdb18c92a93ae67bd288d141e54b6f79b20 /bin
parenta9525cce1bdab4cad44a28a919b31a7e0ed1a988 (diff)
downloadjenkins.debian.net-95e53b50f5130b7b9dba679ae0be2864df634e40.tar.xz
reproducible_openwrt|lede: remove 2nd git clone
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rw-r--r--bin/reproducible_openwrt_common.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index e391aa2b..171c5d75 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -272,14 +272,7 @@ openwrt_build() {
trap node_cleanup_tmpdirs INT TERM EXIT
# openwrt/lede is checkouted under /download
- cd $TMPBUILDDIR
-
- # checkout the repo
- echo "============================================================================="
- echo "$(date -u) - Cloning $TYPE git repository."
- echo "============================================================================="
- git clone -b $OPENWRT_GIT_BRANCH $OPENWRT_GIT_REPO $TYPE
- cd $TYPE
+ cd $TMPBUILDDIR/$TYPE
# set tz, date, core, ..
openwrt_apply_variations $RUN