From 5dea8896efd5762a312316adebfb81f0556da731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 10 Oct 2018 17:54:46 +0200 Subject: turris4x: fix turris-build hash --- templates/turris4x.run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/turris4x.run b/templates/turris4x.run index 34bac9f..1c93188 100755 --- a/templates/turris4x.run +++ b/templates/turris4x.run @@ -19,10 +19,10 @@ if [ -z "$CLEAN" ] && [ -f "$WORKSPACE/openwrt-git-hash" ] && cmp -s git-hash "$ else echo_info "Building new version of SDK" echo_stage "Get turris-build" + TB_HASH="$(awk '/ \* turris-build\: /{print $3}' git-hash)" git_fetch_t "https://gitlab.labs.nic.cz/turris/turris-build.git" turris-build "$TB_HASH" echo_stage "Prepare SDK" - TB_HASH="$(awk '/ \* turris-build\: /{print $3}' git-hash)" mkdir openwrt flock --exclusive "$WORKSPACE/openwrt-sdk.lock" /bin/sh -s <