From 9780b150c837b5363d1e5b7a64befcbfd7e26e01 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Thu, 26 May 2016 22:39:30 -0400 Subject: Fix deploy settings bash output Change-Id: I61efdac14066d2a3d7c3e3ff7f93f0fa2af3a857 Signed-off-by: Feng Pan --- lib/python/apex/deploy_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python') diff --git a/lib/python/apex/deploy_env.py b/lib/python/apex/deploy_env.py index 5c733248..be8779a9 100644 --- a/lib/python/apex/deploy_env.py +++ b/lib/python/apex/deploy_env.py @@ -129,7 +129,7 @@ class DeploySettings: """ bash_str = '' for key, value in self.deploy_settings['global_params'].items(): - bash_str += "if [ -z \"$(eval echo \$${})\" ]; then\n{}={}\nfi\n".format(key,key, value) + bash_str += "{}={}\n".format(key, value) if 'performance' in self.deploy_settings['deploy_options']: bash_str += self._dump_performance() bash_str += self._dump_deploy_options_array() -- cgit 1.2.3-korg