[PATCH] patch.bbclass: remove useless path assignment

DORMANTno replies

From: Alex Franco <hidden>
Date: 2016-04-05 16:20:21
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help