summaryrefslogtreecommitdiff
path: root/build_medkit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_medkit.sh')
-rwxr-xr-xbuild_medkit.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build_medkit.sh b/build_medkit.sh
index 54004d8..581c1f7 100755
--- a/build_medkit.sh
+++ b/build_medkit.sh
@@ -37,12 +37,13 @@ while [ $# -gt 0 ]; do
shift
done
+# Get latest version if we didn't stated version explicitly
if [ -z "$VERSION" ]; then
[ -n "$BRANCH" ] && VBRANCH="-$BRANCH"
- VERSION="$(curl https://repo.turris.cz/$BOARD$VBRANCH/root/etc/turris-version)"
+ VERSION="$(curl https://repo.turris.cz/$MODEL$VBRANCH/root/etc/turris-version)"
fi
-# Ensure that we tools
+# Ensure that we have tools
./scripts/build_tools.sh
# Download api crl