From e77514efe5849336ef3c3e89576f11b5c02e8903 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 27 Sep 2007 07:11:36 +0000 Subject: - urpmf o fix -a and -o --- NEWS | 3 +++ urpmf | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index dfa6da3a..9a74e0e6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- urpmf + o fix -a and -o + Version 4.10.11 - 24 September 2007, by Pascal "Pixel" Rigaux - create /var/tmp in chroots too diff --git a/urpmf b/urpmf index 476019ca..9dda3b01 100755 --- a/urpmf +++ b/urpmf @@ -155,10 +155,10 @@ if ($multitag) { my $next_st = $multitag ? 'next' : 'return 1'; my @inner = ( - "my \$s = sprintf(qq{$proto}, $sprintfargs);", - "\$s =~ $expr or $next_st;", - $uniq ? ('$uniq{$s} and ' . $next_st . ';', '$uniq{$s} = 1;') : (), - 'print $s, "\n";', + "\$_ = sprintf(qq{$proto}, $sprintfargs);", + "$expr or $next_st;", + $uniq ? ('$uniq{$_} and ' . $next_st . ';', '$uniq{$_} = 1;') : (), + 'print $_, "\n";', ); if ($multitag) { -- cgit v1.2.1