diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-01 22:04:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-02 14:21:30 +0100 |
commit | d1a84c9f3d387bfeaeaa0007dda8d90164633255 (patch) | |
tree | f51c9af343a5ab6f3a0990aefeee94d432d1ceea /scripts/oe-find-native-sysroot | |
parent | c0df2ab7ebac5650e52089ada97e8657f8af3979 (diff) | |
download | poky-d1a84c9f3d387bfeaeaa0007dda8d90164633255.tar.gz |
scripts: Show sensible warning messages if expected binaries don't exist
[YOCTO #1438]
(From OE-Core rev: 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-find-native-sysroot')
-rwxr-xr-x | scripts/oe-find-native-sysroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index b99014b52e..b2c22aaf40 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot | |||
@@ -31,7 +31,7 @@ | |||
31 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 31 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
32 | 32 | ||
33 | if [ -z "$OECORE_NATIVE_SYSROOT" ]; then | 33 | if [ -z "$OECORE_NATIVE_SYSROOT" ]; then |
34 | BITBAKE=`which bitbake` | 34 | BITBAKE=`which bitbake 2> /dev/null` |
35 | if [ "x$BITBAKE" != "x" ]; then | 35 | if [ "x$BITBAKE" != "x" ]; then |
36 | if [ "$UID" = "0" ]; then | 36 | if [ "$UID" = "0" ]; then |
37 | # Root cannot run bitbake unless sanity checking is disabled | 37 | # Root cannot run bitbake unless sanity checking is disabled |