[yocto] [[PATCH][autobuilder] 6/8] autobuilder/lib/buildsteps.py: ShellCommandCleanEnv preserve PATH
Aníbal Limón
anibal.limon at linux.intel.com
Fri Feb 19 08:14:47 PST 2016
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py b/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py
index 8b719fa..3693a7a 100644
--- a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py
+++ b/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py
@@ -26,7 +26,8 @@ class ShellCommandCleanEnv(ShellCommand):
preserve_env = kwargs['PENV']
del kwargs['PENV']
else:
- preserve_env = ['HOME', 'PWD', 'http_proxy', 'https_proxy',
+ preserve_env = ['HOME', 'PWD', 'PATH',
+ 'http_proxy', 'https_proxy',
'ftp_proxy', 'no_proxy', 'GIT_PROXY_COMMAND']
env_command = self._get_env_cleaned_command(shell, preserve_env)
--
2.1.4
More information about the yocto
mailing list