Commit e58d9922 by Matthias Putz

Modify: change config dir to be esrlabs specific

parent aef087d9
...@@ -106,7 +106,7 @@ if (ver[0], ver[1]) < MIN_PYTHON_VERSION: ...@@ -106,7 +106,7 @@ if (ver[0], ver[1]) < MIN_PYTHON_VERSION:
% sys.version.split(' ')[0], file=sys.stderr) % sys.version.split(' ')[0], file=sys.stderr)
sys.exit(1) sys.exit(1)
home_dot_repo = os.path.expanduser('~/.repoconfig') home_dot_repo = os.path.expanduser('~/.repoconfig-esrlabs')
gpg_dir = os.path.join(home_dot_repo, 'gnupg') gpg_dir = os.path.join(home_dot_repo, 'gnupg')
extra_args = [] extra_args = []
......
...@@ -797,7 +797,7 @@ def _PostRepoFetch(rp, no_repo_verify=False, verbose=False): ...@@ -797,7 +797,7 @@ def _PostRepoFetch(rp, no_repo_verify=False, verbose=False):
file=sys.stderr) file=sys.stderr)
def _VerifyTag(project): def _VerifyTag(project):
gpg_dir = os.path.expanduser('~/.repoconfig/gnupg') gpg_dir = os.path.expanduser('~/.repoconfig-esrlabs/gnupg')
if not os.path.exists(gpg_dir): if not os.path.exists(gpg_dir):
print('warning: GnuPG was not available during last "repo init"\n' print('warning: GnuPG was not available during last "repo init"\n'
'warning: Cannot automatically authenticate repo."""', 'warning: Cannot automatically authenticate repo."""',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment