repository: /home/avi/kvm
branch: master
commit 927facf79fa6c16defc3e08578e00d0e8b9f4e86
Author: Ryan Harper <[EMAIL PROTECTED]>
Date:   Wed Dec 5 12:22:06 2007 +0200

    kvm: external module: avoid bashism in 'make sync'
    
    Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/Makefile b/kernel/Makefile
index e7320b6..3e6e236 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -19,7 +19,7 @@ _hack = mv $1 $1.orig && \
 
 _unifdef = mv $1 $1.orig && \
          unifdef -DCONFIG_X86 $1.orig > $1; \
-          (( $$? <= 1 )) && rm $1.orig
+          [ $$? -le 1 ] && rm $1.orig
 
 hack = $(call _hack,tmp/$(strip $1))
 unifdef = $(call _unifdef,tmp/$(strip $1))

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to