mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Clean up tools/check error reporting. Remove logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
4e84295e08
commit
a5c2e9df35
7 files changed
+24
-34
No files matched your search
@@ -2,9 +2,9 @@
|
||||
# CHECK-BUILD CHECK-INSTALL
|
||||
|
||||
function error {
|
||||
echo "Check for Python version 2.2 or higher failed."
|
||||
echo
|
||||
echo " *** Check for Python version >= 2.2 FAILED"
|
||||
exit 1
|
||||
}
|
||||
|
||||
python -V
|
||||
python -V 2>&1 | cut -d ' ' -f 2 | grep -q -E '^2.2|^2.3|^2.4' || error
|
||||