summaryrefslogtreecommitdiffstats
path: root/scripts/oe-find-native-sysroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-find-native-sysroot')
-rwxr-xr-xscripts/oe-find-native-sysroot2
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
33if [ -z "$OECORE_NATIVE_SYSROOT" ]; then 33if [ -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