summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-05-12 22:43:51 +0800
committerKevin Tian <kevin.tian@intel.com>2010-05-13 16:27:01 +0800
commit5a3f17ee6b1ac156e2d8d30b9f6304d4731d9163 (patch)
treea2a938df8777f58d99e68016b2611837e481a773
parentb6c691321248da209c482525b96b77d5602688b9 (diff)
downloadopenembedded-core-5a3f17ee6b1ac156e2d8d30b9f6304d4731d9163.tar.gz
openembedded-core-5a3f17ee6b1ac156e2d8d30b9f6304d4731d9163.tar.bz2
openembedded-core-5a3f17ee6b1ac156e2d8d30b9f6304d4731d9163.tar.xz
openembedded-core-5a3f17ee6b1ac156e2d8d30b9f6304d4731d9163.zip
poky-env-internal: unset variables to avoid disturbing new GIT clone
Signed-off-by Kevin Tian <kevin.tian@intel.com>
-rwxr-xr-xscripts/poky-env-internal4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 86e038727..7ffd25f91 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -104,6 +104,10 @@ if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
cp -f $POKYLAYERCONF $BUILDDIR/conf/bblayers.conf
fi
+# Prevent disturbing a new GIT clone in same console
+unset POKYLOCALCONF
+unset POKYLAYERCONF
+
export BBPATH OEROOT BUILD_SYS BUILDDIR
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make