You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2017/05/31 18:47:44 UTC
[43/50] [abbrv] incubator-trafodion git commit: Fix to Python
installer scripts.
Fix to Python installer scripts.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/69a4b7ee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/69a4b7ee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/69a4b7ee
Branch: refs/heads/master
Commit: 69a4b7eecad9ed77baa53e3bc67d767455784f80
Parents: 5196656
Author: Zalo Correa <za...@esgyn.com>
Authored: Wed May 3 08:46:33 2017 -0700
Committer: Zalo Correa <za...@esgyn.com>
Committed: Wed May 3 08:46:33 2017 -0700
----------------------------------------------------------------------
install/python-installer/scripts/traf_sqconfig.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/69a4b7ee/install/python-installer/scripts/traf_sqconfig.py
----------------------------------------------------------------------
diff --git a/install/python-installer/scripts/traf_sqconfig.py b/install/python-installer/scripts/traf_sqconfig.py
index 0bdbf74..05c7a54 100755
--- a/install/python-installer/scripts/traf_sqconfig.py
+++ b/install/python-installer/scripts/traf_sqconfig.py
@@ -57,8 +57,9 @@ def run():
with open(sqconfig_file, 'w') as f:
f.writelines(lines)
- # append the current persist section
- run_cmd('sed \'1,20d\' %s >> %s' % (sqconfig_file, sqconfig_persist_file))
+ # append the current persist section to the Trafodion configuration file
+ run_cmd('echo "sed \'1,20d\' %s >> %s"' % (sqconfig_persist_file, sqconfig_file))
+ run_cmd('sed \'1,20d\' %s >> %s' % (sqconfig_persist_file, sqconfig_file))
print 'sqconfig generated successfully!'