From 2e567f75cbf90b3bbc69e0061948b49faafa0b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 22 May 2017 12:51:47 +0200 Subject: Some small fixes --- build_medkit.sh | 5 +++-- 1 file 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 -- cgit v1.2.3