From f7a0e4967ce9212cd8fde74be6c1cccc1e85305c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 10 Jul 2017 14:05:19 +0200 Subject: Fix dynamic model and branch in url --- build_medkit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_medkit.sh b/build_medkit.sh index 56c03a0..c5c9951 100755 --- a/build_medkit.sh +++ b/build_medkit.sh @@ -40,7 +40,7 @@ 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/omnia-dev-karel/packages/base/Packages | sed -n 's/^Filename: turris-version_\([^_]*\)_.*/\1/p')" + VERSION="$(curl https://repo.turris.cz/"$MODEL$VBRANCH"/packages/base/Packages | sed -n 's/^Filename: turris-version_\([^_]*\)_.*/\1/p')" fi # Ensure that we have tools -- cgit v1.2.3