From e00f0405faf8edc53fcae09888e45a87f86b01a9 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 25 Jul 2001 09:06:35 +0000 Subject: fixed still missing rpmtools:: before a version_compare ... --- tools/syncrpms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/syncrpms b/tools/syncrpms index 891474b8b..946032e52 100755 --- a/tools/syncrpms +++ b/tools/syncrpms @@ -62,7 +62,7 @@ sub get_rpms { my $key = "$1 $4"; #- get name including architecture. if ($rpms->{$key}) { if (rpmtools::version_compare($2, $rpms->{$key}{version}) > 0 || - rpmtools::version_compare($2, $rpms->{$key}{version}) == 0 && version_compare($3, $rpms->{$key}{release}) > 0) { + rpmtools::version_compare($2, $rpms->{$key}{version}) == 0 && rpmtools::version_compare($3, $rpms->{$key}{release}) > 0) { if ($modifiable) { if ($flag->{sorted}) { print "you said rpms directory are sorted, so I keep obseleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; -- cgit v1.2.1