From: Avi Kivity <[EMAIL PROTECTED]>

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/Makefile b/kernel/Makefile
index 36a1440..7458b2e 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -46,8 +46,8 @@ sync:
        $(call hack, svm.c)
        $(call hack, x86.c)
        $(call hack, irq.h)
-       @$(foreach i, $(shell find tmp -type f -printf '%P\n'), \
-               if ! cmp -s $i tmp/$i; then cp tmp/$i $i; fi && ) :
+       for i in $$(find tmp -type f -printf '%P '); \
+               do cmp -s $$i tmp/$$i || cp tmp/$$i $$i; done
 
 install:
        mkdir -p $(DESTDIR)/$(INSTALLDIR)

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to