diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-06-06 13:10:42 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-06-06 13:10:42 +0000 |
commit | b1840dac5e9e00321a41552061380f40dc3abd29 (patch) | |
tree | d035111ab23726e9c51d5db94e51aca667440f54 | |
parent | c48aeb0390ceeb2937c2b553bacbafb37cd31430 (diff) | |
download | rpmdrake-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-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |