oe-buildenv-internal: Only add to $PATH if needed
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 5 Apr 2013 16:59:45 +0000 (18:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Apr 2013 12:16:52 +0000 (13:16 +0100)
commit1af1da4162981d42e1721ccf69548cfc5821579d
tree465a55ea5a7b4aaf064bfe293fe03cb2f36519d8
parent5e856d3f737e84894ba0971380b4906205e6ce0c
oe-buildenv-internal: Only add to $PATH if needed

If $PATH already has the needed paths at the beginning, there is no need
to add them again. This allows rerunning oe-init-build-env for the same
directory without having $PATH increase unnecessarily every time.

(From OE-Core rev: 161abcd3672f83990ede03d67b7388678c07150e)

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