aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-11-22 13:06:24 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2015-11-22 13:06:24 -0800
commit66e11eea194dc4cde56851178234bb7312e3e551 (patch)
treeebf64d2de8f20df8ec4c5f3de4d0067a3321f2de
parentegencache --update-changelogs: Respect GIT_DIR (diff)
downloadportage-66e11eea194dc4cde56851178234bb7312e3e551.tar.gz
portage-66e11eea194dc4cde56851178234bb7312e3e551.tar.bz2
portage-66e11eea194dc4cde56851178234bb7312e3e551.zip
egencache: Fix correct variable for repo_path.infra
Copy & paste error :-(. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index caf661309..ab36bbea7 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -918,7 +918,7 @@ class GenChangeLogs(object):
output.close()
def _task_iter(self):
- if not os.path.isdir(os.environ.get('GIT_DIR', os.path.join(repo_path, '.git'))):
+ if not os.path.isdir(os.environ.get('GIT_DIR', os.path.join(self._repo_path, '.git'))):
writemsg_level(
"ERROR: --update-changelogs supported only in git repos\n",
level=logging.ERROR, noiselevel=-1)