[oe-commits] Richard Purdie : oe-buildenv-internal: Ensure error messages got to stderr
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 18 16:26:40 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 631a0ec8cc7e53c2df2fc62c5276f940ed45b39e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=631a0ec8cc7e53c2df2fc62c5276f940ed45b39e
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Mon Jun 17 16:38:24 2013 +0100
oe-buildenv-internal: Ensure error messages got to stderr
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-buildenv-internal | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 62a410e..bba6f8f 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -35,8 +35,8 @@ fi
# can offer a meaningful error message.
py_v3_check=`/usr/bin/env python --version 2>&1 | grep "Python 3"`
if [ "$py_v3_check" != "" ]; then
- echo "Bitbake is not compatible with python v3"
- echo "Please set up python v2 as your default python interpreter"
+ echo >&2 "Bitbake is not compatible with python v3"
+ echo >&2 "Please set up python v2 as your default python interpreter"
return 1
fi
@@ -45,7 +45,7 @@ fi
# vigilant for any other new feature use, just check the version here.
py_v26_check=`python -c 'import sys; print sys.version_info >= (2,7,3)'`
if [ "$py_v26_check" != "True" ]; then
- echo "BitBake requires Python 2.7.3 or later"
+ echo >&2 "BitBake requires Python 2.7.3 or later"
return 1
fi
More information about the Openembedded-commits
mailing list