diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 14:17:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:31 +0100 |
commit | acf547084a68c7441797ff088490bdaa72ab7177 (patch) | |
tree | 754ba2a40e9ecae63c5abc2a5347964da905bc2d /oe-init-build-env-memres | |
parent | 540c27906a3a946878989ee736f0576cccbc6336 (diff) | |
download | poky-acf547084a68c7441797ff088490bdaa72ab7177.tar.gz |
oe-init-build-env-memres: Unset BBSERVER if already set
When starting a new server we don't want bitbake to connect to an existing
server so ensure BBSERVER is unset.
(From OE-Core rev: f54bb9e7897e6e68acb7b4f88d998fdb149a7e47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env-memres')
-rwxr-xr-x | oe-init-build-env-memres | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres index dca819b2eb..79b91b751a 100755 --- a/oe-init-build-env-memres +++ b/oe-init-build-env-memres | |||
@@ -42,6 +42,10 @@ else | |||
42 | else | 42 | else |
43 | OEROOT="`pwd`" | 43 | OEROOT="`pwd`" |
44 | fi | 44 | fi |
45 | if [ -n "$BBSERVER" ]; then | ||
46 | unset BBSERVER | ||
47 | fi | ||
48 | |||
45 | OEROOT=`readlink -f "$OEROOT"` | 49 | OEROOT=`readlink -f "$OEROOT"` |
46 | export OEROOT | 50 | export OEROOT |
47 | . $OEROOT/scripts/oe-buildenv-internal && \ | 51 | . $OEROOT/scripts/oe-buildenv-internal && \ |