summaryrefslogtreecommitdiff
path: root/scripts/poky-env-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-env-internal')
-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 ee7a0a935..c08bfd5c3 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"