use same algorithm for testing and
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
525061bff2
commit
a900c00235
8
configure
vendored
8
configure
vendored
@ -2107,7 +2107,13 @@ fi
|
|||||||
|
|
||||||
$source_path/create_config < $config_mak > $config_h
|
$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
|
done # for target in $targets
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user