]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
debuginfod useragent: header generation tweak 2
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 6 Jan 2020 10:20:35 +0000 (05:20 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 6 Jan 2020 10:20:35 +0000 (05:20 -0500)
debuginfod/Makefile.am

index 5c4dfb3e5a30492bdec183f808fb0dda53445691..2e62e7726f153c46d5ccf6fc1c0878dca33173de 100644 (file)
@@ -76,9 +76,10 @@ debuginfod-client-useragent.h:
        if type lsb_release 2>/dev/null; then \
                echo '#define DEBUGINFOD_CLIENT_USERAGENT_2 "'`lsb_release -sir | sed -e 's, ,/,g'`'"' >> $@; \
        else \
-               echo '#define DEBUGINFOD_CLIENT_USERAGENT_2 ""' > $@; \
+               echo '#define DEBUGINFOD_CLIENT_USERAGENT_2 ""' >> $@; \
        fi
        echo '#define DEBUGINFOD_CLIENT_USERAGENT DEBUGINFOD_CLIENT_USERAGENT_1 "," DEBUGINFOD_CLIENT_USERAGENT_2' >> $@
+       cat $@
 
 debuginfod-client.o: debuginfod-client-useragent.h
 libdebuginfod_a_SOURCES = debuginfod-client.c