[OE-core] [PATCH] patch.bbclass: remove useless path assignment

Alex Franco alejandro.franco at linux.intel.com
Tue Apr 5 16:21:34 UTC 2016


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 at linux.intel.com>
---
 meta/classes/patch.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 1e2aab0..3d22ad8 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -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
-- 
2.7.4




More information about the Openembedded-core mailing list