summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/poky-env-internal2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index ee7a0a935c..c08bfd5c37 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -37,6 +37,8 @@ PKGDIR_MOBLIN="$OEROOT/meta-moblin/"
BUILDDIR="$OEROOT/$BDIR/"
MSG=''
+unset BDIR
+
BUILD_ARCH=`uname -m`
BUILD_OS=`uname | tr [A-Z] [a-z]`
BUILD_SYS="$BUILD_ARCH-$BUILD_OS"