aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-extract-sdk
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-01 22:04:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-02 14:20:32 +0100
commit6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647 (patch)
tree436599b7eda0bd343518cfcc81e72976dc16444e /scripts/runqemu-extract-sdk
parent06625096f897235ed85f0d9a1355497f92938454 (diff)
downloadopenembedded-core-6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647.tar.gz
scripts: Show sensible warning messages if expected binaries don't exist
[YOCTO #1438] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-extract-sdk')
-rwxr-xr-xscripts/runqemu-extract-sdk2
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
exit 1
fi
-SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot`
+SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot 2> /dev/null`
if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
echo "Error: Unable to find the oe-find-native-sysroot script"
echo "Did you forget to source your build system environment setup script?"