projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb24bda
)
use same algorithm for testing and
author
Juan Quintela
<quintela@redhat.com>
Mon, 27 Jul 2009 14:12:44 +0000
(16:12 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:09:17 +0000
(14:09 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
736ccdd
..
42519d2
100755
(executable)
--- 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