]> code.ossystems Code Review - openembedded-core.git/commitdiff
patch.bbclass: remove useless path assignment
authorAlex Franco <alejandro.franco@linux.intel.com>
Tue, 5 Apr 2016 16:21:34 +0000 (11:21 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Apr 2016 22:12:41 +0000 (23:12 +0100)
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]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/patch.bbclass

index 1e2aab04186537f2f50df92b68614c3166e2f611..3d22ad8381496bba68ef28fcc1ea60a092bf4761 100644 (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