From b46b8eb195d42998b54ec38ad33a64b1d9c7dedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 28 Oct 2013 16:34:13 +0100 Subject: [PATCH] call convert-to-sql with correct dirname --- wcsinst/wcsinstd/deploy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcsinst/wcsinstd/deploy.py b/wcsinst/wcsinstd/deploy.py index 27408d7..b4a7244 100644 --- a/wcsinst/wcsinstd/deploy.py +++ b/wcsinst/wcsinstd/deploy.py @@ -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