summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-07-10 14:05:19 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-07-10 14:05:19 +0200
commitf7a0e4967ce9212cd8fde74be6c1cccc1e85305c (patch)
treeaf40ede4d70061a8012f408839166e8a8f0cdb2f
parent227488c9e369d5d565e8e6a860269459c15da492 (diff)
downloadturris-mymedkit-f7a0e4967ce9212cd8fde74be6c1cccc1e85305c.tar.gz
turris-mymedkit-f7a0e4967ce9212cd8fde74be6c1cccc1e85305c.tar.bz2
turris-mymedkit-f7a0e4967ce9212cd8fde74be6c1cccc1e85305c.zip
Fix dynamic model and branch in url
-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