summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xurpmf8
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) {