summaryrefslogtreecommitdiff
path: root/templates/turris4x.run
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-10-10 17:54:46 +0200
committerKarel Kočí <cynerd@email.cz>2018-10-10 17:54:46 +0200
commit5dea8896efd5762a312316adebfb81f0556da731 (patch)
tree8c56e2cdaf1fa6a6d23c24f99b4a435e63c1545f /templates/turris4x.run
parent6f880fd4e3ab6701845094613df166b1ff8b7250 (diff)
downloadlaminar-cnf-5dea8896efd5762a312316adebfb81f0556da731.tar.gz
laminar-cnf-5dea8896efd5762a312316adebfb81f0556da731.tar.bz2
laminar-cnf-5dea8896efd5762a312316adebfb81f0556da731.zip
turris4x: fix turris-build hash
Diffstat (limited to 'templates/turris4x.run')
-rwxr-xr-xtemplates/turris4x.run2
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