summaryrefslogtreecommitdiffstats
path: root/meta/classes/patch.bbclass
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-06 10:29:23 +0100
commit8109e93a260d487dabf3849466305e496b735aab (patch)
tree2104bdcdf693096d07f91e0bc7a7bdcfb2f6f1df /meta/classes/patch.bbclass
parent79636132c0e97a6aa366153581841b2c3dc472d7 (diff)
downloadpoky-8109e93a260d487dabf3849466305e496b735aab.tar.gz
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] (From OE-Core rev: a3c7c5148017c652661f2c5f79d90aa80dcb479b) Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/patch.bbclass')
-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() {
136 136
137 s = d.getVar('S', True) 137 s = d.getVar('S', True)
138 138
139 path = os.getenv('PATH')
140 os.putenv('PATH', d.getVar('PATH', True)) 139 os.putenv('PATH', d.getVar('PATH', True))
141 140
142 # We must use one TMPDIR per process so that the "patch" processes 141 # We must use one TMPDIR per process so that the "patch" processes