summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2016-04-05 11:21:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-05 23:12:41 +0100
commita3c7c5148017c652661f2c5f79d90aa80dcb479b (patch)
tree9e3c611f4284390114c7241e06ac1a9a6c9571cc
parentae15536d8b441a51ef453fe3f8ca9cf9d856cd93 (diff)
downloadopenembedded-core-a3c7c5148017c652661f2c5f79d90aa80dcb479b.tar.gz
openembedded-core-a3c7c5148017c652661f2c5f79d90aa80dcb479b.tar.bz2
openembedded-core-a3c7c5148017c652661f2c5f79d90aa80dcb479b.zip
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/patch.bbclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 1e2aab0418..3d22ad8381 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