[oe-commits] [openembedded-core] 04/07: patch.bbclass: remove useless path assignment

git at git.openembedded.org git at git.openembedded.org
Tue Apr 5 22:13:44 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a3c7c5148017c652661f2c5f79d90aa80dcb479b
Author: Alex Franco <alejandro.franco at linux.intel.com>
AuthorDate: Tue Apr 5 11:21:34 2016 -0500

    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]
    
    Signed-off-by: Alex Franco <alejandro.franco at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list