summaryrefslogtreecommitdiff
path: root/build_medkit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_medkit.sh')
-rwxr-xr-xbuild_medkit.sh2
1 files changed, 1 insertions, 1 deletions
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