From 95e53b50f5130b7b9dba679ae0be2864df634e40 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 12 Oct 2016 23:25:05 +0200 Subject: reproducible_openwrt|lede: remove 2nd git clone Signed-off-by: Holger Levsen --- bin/reproducible_openwrt_common.sh | 9 +-------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-54-g00ecf