summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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