diff options
-rwxr-xr-x | templates/turris4x.run | 2 |
1 files changed, 1 insertions, 1 deletions
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 <<EOF cd openwrt |