| Summary: | versionator.eclass - get_after_major_version() doesn't work [patch] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Grant <davidgrant> |
| Component: | Eclasses | Assignee: | Stephen Bennett (RETIRED) <spb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
David Grant
2006-08-29 15:52:01 UTC
Sorry, I'm having trouble attaching this for some reason.
--- /usr/portage/eclass/versionator.eclass.orig 2006-08-29 15:47:48.000000000 -0700
+++ /usr/portage/eclass/versionator.eclass 2006-08-29 15:48:02.000000000 -0700
@@ -152,7 +152,7 @@
# 20040905 -> (empty string)
# 3.0c-r1 -> 0c-r1
get_after_major_version() {
- echo $(get_version_component_range 2- "${1:-PV}" )
+ echo $(get_version_component_range 2- "${1:-${PV}}" )
}
# Replace the $1th separator with $2 in $3 (defaults to $PV if $3 is not
In CVS; thanks. |