summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-12 09:25:49 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-12 09:25:49 +0000
commited153d7cd57b0ace0ec085330c0ba66239a5dba5 (patch)
tree899be09c14957be54846d7d53461f0b2fe99a4df /bin/repoman
parent56a40197202500ced89f44a572cec6be62dbaa7a (diff)
downloadportage-ed153d7cd57b0ace0ec085330c0ba66239a5dba5.tar.gz
portage-ed153d7cd57b0ace0ec085330c0ba66239a5dba5.tar.bz2
portage-ed153d7cd57b0ace0ec085330c0ba66239a5dba5.zip
Fix the check for bug #198398 so that it works even when running
repoman from the root of the repo. svn path=/main/trunk/; revision=8888
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 783b4fb79..c921234fd 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -813,7 +813,8 @@ if isCvs:
"RMD160" not in portage.checksum.hashorigin_map:
from portage.util import grablines
repo_lines = grablines("./CVS/Repository")
- if repo_lines and repo_lines[0].startswith("gentoo-x86/"):
+ if repo_lines and \
+ "gentoo-x86" == repo_lines[0].strip().split(os.path.sep)[0]:
msg = "Please install " \
"pycrypto or enable python's ssl USE flag in order " \
"to enable RMD160 hash support. See bug #198398 for " \