patch.bbclass: remove useless path assignment

A path variable is assigned the value of PATH from the
environment, before the PATH is set on the environemnt
from the value of PATH in the bb datastore. This seems
to be an unnecessary leftover.

[YOCTO #8543]

(From OE-Core rev: a3c7c5148017c652661f2c5f79d90aa80dcb479b)

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alex Franco authored and Richard Purdie committed 2016-04-06 10:29:23 +01:00
1 parent 79636132c0
commit 8109e93a26
1 file changed
-1
-1
View File
@@ -136,7 +136,6 @@ python patch_do_patch() {
s = d.getVar('S', True)
path = os.getenv('PATH')
os.putenv('PATH', d.getVar('PATH', True))
# We must use one TMPDIR per process so that the "patch" processes