summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-05-26 22:39:30 -0400
committerFeng Pan <fpan@redhat.com>2016-05-27 01:14:23 -0400
commit9780b150c837b5363d1e5b7a64befcbfd7e26e01 (patch)
tree5b51b152a2182d769fc65b7acaf1b6cff2de231b /lib
parent6313bd8b7604043093bb8def0ab88f1dd72919f3 (diff)
Fix deploy settings bash output
Change-Id: I61efdac14066d2a3d7c3e3ff7f93f0fa2af3a857 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/python/apex/deploy_env.py2
1 files changed, 1 insertions, 1 deletions
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()