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/runqemu-extract-sdk | |
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/runqemu-extract-sdk')
-rwxr-xr-x | scripts/runqemu-extract-sdk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index d30e5a64aa..4b5247597f 100755 --- a/scripts/runqemu-extract-sdk +++ b/scripts/runqemu-extract-sdk | |||
@@ -29,7 +29,7 @@ if [ $# -ne 2 ]; then | |||
29 | exit 1 | 29 | exit 1 |
30 | fi | 30 | fi |
31 | 31 | ||
32 | SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot` | 32 | SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot 2> /dev/null` |
33 | if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then | 33 | if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then |
34 | echo "Error: Unable to find the oe-find-native-sysroot script" | 34 | echo "Error: Unable to find the oe-find-native-sysroot script" |
35 | echo "Did you forget to source your build system environment setup script?" | 35 | echo "Did you forget to source your build system environment setup script?" |