osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/34342?usp=email )
Change subject: OBS: build_binpkg: support debian:testing ......................................................................
OBS: build_binpkg: support debian:testing
Change-Id: I71de94ef34c3ccc3610643bd8861b78cccd266a5 --- M scripts/obs/data/build_binpkg.Dockerfile 1 file changed, 11 insertions(+), 1 deletion(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve
diff --git a/scripts/obs/data/build_binpkg.Dockerfile b/scripts/obs/data/build_binpkg.Dockerfile index 49cdc96..4d4b185 100644 --- a/scripts/obs/data/build_binpkg.Dockerfile +++ b/scripts/obs/data/build_binpkg.Dockerfile @@ -53,8 +53,9 @@
# Add master repository, where packages immediately get updated after merging # patches to master. +# sed: first letter uppercase (testing -> Testing) RUN set -x; \ - VERSION="$(echo "$DISTRO" | cut -d : -f 2)"; \ + VERSION="$(echo "$DISTRO" | cut -d : -f 2 | sed 's/./\u&/')"; \ case "$DISTRO" in \ debian:*) \ apt-key add /tmp/Release.key && \