qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 05/46] use same algorithm for testing and


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 05/46] use same algorithm for testing and
Date: Fri, 24 Jul 2009 20:30:05 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 configure |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 736ccdd..42519d2 100755
--- a/configure
+++ b/configure
@@ -2107,7 +2107,13 @@ fi

 $source_path/create_config < $config_mak > $config_h

-test -f ${config_h}~ && cmp -s $config_h ${config_h}~ && mv ${config_h}~ 
$config_h
+if test -f ${config_h}~ ; then
+  if cmp -s $config_h ${config_h}~ ; then
+    mv ${config_h}~ $config_h
+  else
+    rm ${config_h}~
+  fi
+fi

 done # for target in $targets

-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]