diff options
Diffstat (limited to 'scripts/runqemu-export-rootfs')
-rwxr-xr-x | scripts/runqemu-export-rootfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs index 6f4604d9a6..3ee311235d 100755 --- a/scripts/runqemu-export-rootfs +++ b/scripts/runqemu-export-rootfs | |||
@@ -38,7 +38,7 @@ fi | |||
38 | # Ensure the nfs-export-dir is an absolute path | 38 | # Ensure the nfs-export-dir is an absolute path |
39 | NFS_EXPORT_DIR=$(cd "$2" && pwd) | 39 | NFS_EXPORT_DIR=$(cd "$2" && pwd) |
40 | 40 | ||
41 | SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot` | 41 | SYSROOT_SETUP_SCRIPT=`which oe-find-native-sysroot 2> /dev/null` |
42 | if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then | 42 | if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then |
43 | echo "Error: Unable to find the oe-find-native-sysroot script" | 43 | echo "Error: Unable to find the oe-find-native-sysroot script" |
44 | echo "Did you forget to source your build environment setup script?" | 44 | echo "Did you forget to source your build environment setup script?" |