call convert-to-sql with correct dirname

This commit is contained in:
Frédéric Péters 2013-10-28 16:34:13 +01:00
parent 894d463d5c
commit b46b8eb195
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ class DeployInstance(object):
else:
params.append('--' + param)
params.append(wcs_cfg.get('postgresql').get(param))
os.system('%s convert-to-sql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), self.domain))
os.system('%s convert-to-sql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params),
os.path.basename(self.collectivity_install_dir)))
def make_sso_config(self, wcs_cfg):
has_idff = False