[libvirt] [PATCH] build: use fewer cat processes

* src/Makefile.am (libvirt.syms): Let cat loop for us. --- I'll wait for a review before pushing, rather than claiming it is trivial. src/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 33b4ab0..cf6096a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1457,9 +1457,7 @@ libvirt.syms: libvirt_public.syms $(USED_SYM_FILES) \ printf '\n\n# Private symbols\n\n' >>$@-tmp && \ printf 'LIBVIRT_PRIVATE_$(VERSION) {\n\n' >>$@-tmp && \ printf 'global:\n\n' >>$@-tmp && \ - for file in $(USED_SYM_FILES); do \ - cat $$file >>$@-tmp; \ - done && \ + cat $(USED_SYM_FILES) >>$@-tmp && \ printf '\n\nlocal:\n*;\n\n};' >>$@-tmp && \ chmod a-w $@-tmp && \ mv $@-tmp libvirt.syms -- 1.8.0.2

On 12/13/2012 05:12 PM, Peter Krempa wrote:
On 12/13/12 23:45, Eric Blake wrote:
* src/Makefile.am (libvirt.syms): Let cat loop for us. ---
I'll wait for a review before pushing, rather than claiming it is trivial.
src/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
ACK
Thanks; pushed. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Peter Krempa