projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4b43c
)
Fix broken diffutils vercmp code.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 18 Feb 2010 08:48:13 +0000
(08:48 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 18 Feb 2010 08:48:13 +0000
(08:48 -0000)
svn path=/main/trunk/; revision=15368
bin/dispatch-conf
patch
|
blob
|
history
diff --git
a/bin/dispatch-conf
b/bin/dispatch-conf
index 776ce5dd836ea1e72cfc87d4ef02381d3cf21c32..2a6462ac4d74dac92e77c10ecb79d86fca874772 100755
(executable)
--- a/
bin/dispatch-conf
+++ b/
bin/dispatch-conf
@@
-125,9
+125,8
@@
class dispatch:
diffutils = vardb.match('sys-apps/diffutils')
if diffutils:
diffutils = diffutils[0]
- diffutils_split = portage.catpkgsplit(diffutils)[1:]
- if portage.vercmp(diffutils_split,
- portage.pkgsplit('diffutils-2.9')) >= 0:
+ diffutils_ver = '-'.join(portage.catpkgsplit(diffutils)[2:])
+ if portage.vercmp(diffutils_ver, '2.9') >= 0:
diffutils_2_9 = True
# config file freezing support