From 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 1 Sep 2011 22:04:48 +0100 Subject: scripts: Show sensible warning messages if expected binaries don't exist [YOCTO #1438] Signed-off-by: Richard Purdie --- scripts/runqemu-extract-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/runqemu-extract-sdk') 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?" -- cgit 1.2.3-korg