summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debuginfod/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfod/Makefile.am b/debuginfod/Makefile.am
index 2e62e772..97042d0b 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