From 8ce5041596ef486510245946b7c6c68ec59add29 Mon Sep 17 00:00:00 2001 From: Simran Basi Date: Fri, 28 Aug 2015 14:25:44 -0700 Subject: GITC: Pull GITC Manifest Dir from the config. Updates the repo launcher and gitc_utils to pull the manifest directory location out of the gitc config file. Change-Id: Id08381b8a7d61962093d5cddcb3ff6afbb13004b --- subcmds/gitc_init.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'subcmds/gitc_init.py') 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. if not opt.gitc_client: print('fatal: gitc client (-c) is required', file=sys.stderr) sys.exit(1) - self.client_dir = os.path.join(gitc_utils.GITC_MANIFEST_DIR, + self.client_dir = os.path.join(gitc_utils.get_gitc_manifest_dir(), opt.gitc_client) - if not os.path.exists(gitc_utils.GITC_MANIFEST_DIR): - os.makedirs(gitc_utils.GITC_MANIFEST_DIR) + if not os.path.exists(gitc_utils.get_gitc_manifest_dir()): + os.makedirs(gitc_utils.get_gitc_manifest_dir()) if not os.path.exists(self.client_dir): os.mkdir(self.client_dir) super(GitcInit, self).Execute(opt, args) -- cgit v1.2.3-54-g00ecf