summaryrefslogtreecommitdiffstats
path: root/subcmds/gitc_init.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/gitc_init.py')
-rw-r--r--subcmds/gitc_init.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py
index 92b34f72..c0568caa 100644
--- a/subcmds/gitc_init.py
+++ b/subcmds/gitc_init.py
@@ -59,10 +59,10 @@ use for this GITC client.
59 if not opt.gitc_client: 59 if not opt.gitc_client:
60 print('fatal: gitc client (-c) is required', file=sys.stderr) 60 print('fatal: gitc client (-c) is required', file=sys.stderr)
61 sys.exit(1) 61 sys.exit(1)
62 self.client_dir = os.path.join(gitc_utils.GITC_MANIFEST_DIR, 62 self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(),
63 opt.gitc_client) 63 opt.gitc_client)
64 if not os.path.exists(gitc_utils.GITC_MANIFEST_DIR): 64 if not os.path.exists(gitc_utils.get_gitc_manifest_dir()):
65 os.makedirs(gitc_utils.GITC_MANIFEST_DIR) 65 os.makedirs(gitc_utils.get_gitc_manifest_dir())
66 if not os.path.exists(self.client_dir): 66 if not os.path.exists(self.client_dir):
67 os.mkdir(self.client_dir) 67 os.mkdir(self.client_dir)
68 super(GitcInit, self).Execute(opt, args) 68 super(GitcInit, self).Execute(opt, args)