From: Alex Franco Date: Tue, 5 Apr 2016 16:21:34 +0000 (-0500) Subject: patch.bbclass: remove useless path assignment X-Git-Tag: 2016-4~141 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a3c7c5148017c652661f2c5f79d90aa80dcb479b;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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