]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: Fix default network generation on FreeBSD
authorAndrea Bolognani <abologna@redhat.com>
Thu, 21 Apr 2016 10:01:27 +0000 (12:01 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 21 Apr 2016 14:45:20 +0000 (16:45 +0200)
commit71c22b186ccbb7837213ee516b331d15ba365a62
treeced802b86a64144ee4b71be3353b3568d012bb48
parent01acd6f52be8ea3cbf3295bfd4aad12d8d145340
build: Fix default network generation on FreeBSD

FreeBSD's sed(1) doesn't support using "\n" to insert a newline,
so the installed default.xml file ends up containing a literal
"n" between tags; to work around this problem, add a tr(1)
invocation as suggested by the sed FAQ[1].

[1] http://sed.sourceforge.net/sedfaq4.html (4.1 c)
src/Makefile.am