From 26a551a3206c27841da7463d2d2b9da018865f3e Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 7 Jan 2020 10:48:31 -0500 Subject: [PATCH] lsb_release -sir on debian produces separate lines --- debuginfod/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuginfod/Makefile.am b/debuginfod/Makefile.am index 2e62e7726..97042d0b2 100644 --- a/debuginfod/Makefile.am +++ b/debuginfod/Makefile.am @@ -74,7 +74,7 @@ debuginfod-client-useragent.h: echo '#define DEBUGINFOD_CLIENT_USERAGENT_1 ""' > $@; \ fi if type lsb_release 2>/dev/null; then \ - echo '#define DEBUGINFOD_CLIENT_USERAGENT_2 "'`lsb_release -sir | sed -e 's, ,/,g'`'"' >> $@; \ + echo '#define DEBUGINFOD_CLIENT_USERAGENT_2 "'`lsb_release -sir | tr '\012' ' ' | sed -e 's, ,/,g'`'"' >> $@; \ else \ echo '#define DEBUGINFOD_CLIENT_USERAGENT_2 ""' >> $@; \ fi -- 2.47.2