summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-11 17:53:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-11 17:53:43 +0000
commite3f47e08bc36b751125b3252c1ea46c3ea0e970d (patch)
tree09e4b7b29710e8f3ac1e07edfebf7a5747abcbe2
parent8fb4415e6dae99a6fa710106fa086cea8b34182d (diff)
downloadportage-e3f47e08bc36b751125b3252c1ea46c3ea0e970d.tar.gz
portage-e3f47e08bc36b751125b3252c1ea46c3ea0e970d.tar.bz2
portage-e3f47e08bc36b751125b3252c1ea46c3ea0e970d.zip
Derive the changelog_path variable from the new checkdir_relative variable.
svn path=/main/trunk/; revision=11854
-rwxr-xr-xbin/repoman7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/repoman b/bin/repoman
index f9900781a..22568ab38 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1066,12 +1066,7 @@ for x in scanlist:
del metadata_bad
- changelog_path = "ChangeLog"
- if repolevel < 3:
- changelog_path = os.path.join(pkgdir, changelog_path)
- if repolevel < 2:
- changelog_path = os.path.join(catdir, changelog_path)
- changelog_path = os.path.join(".", changelog_path)
+ changelog_path = os.path.join(checkdir_relative, "ChangeLog")
changelog_modified = changelog_path in modified_changelogs
allmasked = True