diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2020-01-07 10:48:31 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2020-01-07 10:48:31 -0500 |
commit | 26a551a3206c27841da7463d2d2b9da018865f3e (patch) | |
tree | 2b252a7083cce9800965d51ae8d11a9ed71910c3 | |
parent | 4c81b7f379952bad4f393cddb3842ca33645be92 (diff) | |
download | elfutils-fche/copr.tar.gz |
lsb_release -sir on debian produces separate linesfche/copr
-rw-r--r-- | debuginfod/Makefile.am | 2 |
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 |