aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-06-06 13:10:42 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-06-06 13:10:42 +0000
commitb1840dac5e9e00321a41552061380f40dc3abd29 (patch)
treed035111ab23726e9c51d5db94e51aca667440f54
parentc48aeb0390ceeb2937c2b553bacbafb37cd31430 (diff)
downloadrpmdrake-b1840dac5e9e00321a41552061380f40dc3abd29.tar
rpmdrake-b1840dac5e9e00321a41552061380f40dc3abd29.tar.gz
rpmdrake-b1840dac5e9e00321a41552061380f40dc3abd29.tar.bz2
rpmdrake-b1840dac5e9e00321a41552061380f40dc3abd29.tar.xz
rpmdrake-b1840dac5e9e00321a41552061380f40dc3abd29.zip
do double backticks call differently to be able to be parsed by
perl checker
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 6f962178..1e44c5de 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -428,8 +428,8 @@ or you already installed all of them."));
by_selection => sub { sort { $pkgs->{$b->[0]}{selected} <=> $pkgs->{$a->[0]}{selected}
|| uc($a->[0]) cmp uc($b->[0]) } @_ },
by_leaves => sub {
-# my @pkgs_times = qx{rpm -q --qf "%{name}-%{version}-%{release} %{installtime}\n" `urpmi_rpm-find-leaves`};
- sort { $b->[1] <=> $a->[1] } grep { exists $pkgs->{$_->[0]} } map { [ split ] } @pkgs_times;
+ my $pkgs_times = 'rpm -q --qf "%{name}-%{version}-%{release} %{installtime}\n" `urpmi_rpm-find-leaves`';
+ sort { $b->[1] <=> $a->[1] } grep { exists $pkgs->{$_->[0]} } map { [ split ] } `$pkgs_times`;
},
flat => sub { sort { uc($a->[0]) cmp uc($b->[0]) } @_ });
if ($flat) {