aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index 0358273..3695d73 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -602,7 +602,7 @@ sub compat_arch { better_arch(arch(), $_[0]) }
#- compare a version string, make sure no deadlock can occur.
#- try to return always a numerical value.
sub version_compare {
- return rpmvercmp(@_);
+ goto &rpmvercmp;
}
#- historical perl version (still breaks on "4m" with "4.1m"...
#- my ($a, $b) = @_;