osmith submitted this change.
OBS: build_binpkg: support debian:testing
Change-Id: I71de94ef34c3ccc3610643bd8861b78cccd266a5
---
M scripts/obs/data/build_binpkg.Dockerfile
1 file changed, 11 insertions(+), 1 deletion(-)
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 && \
To view, visit change 34342. To unsubscribe, or for help writing mail filters, visit settings.