]> code.ossystems Code Review - openembedded-core.git/commit
oe-buildenv-internal: Only add to $PATH if needed
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Tue, 9 Apr 2013 10:24:13 +0000 (12:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Apr 2013 12:11:51 +0000 (13:11 +0100)
commit7429db6f38e405774ba66b3fa1bc3ac4b74ae6b9
tree960a09cb7d7e77f64ece96585316672bfeca5489
parent01fa98083df0931e07e8715616dafe600258adba
oe-buildenv-internal: Only add to $PATH if needed

First strip $PATH of any existence of the paths needed by Open Embedded
and BitBake. Then add the needed paths at the beginning. This makes sure
the needed paths are searched first, without growing $PATH unnecessarily
if oe-init-build-env is rerun for a directory for which it has
previously been run.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal