summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-07 08:57:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-07 08:57:16 +0000
commit6d67fd7b5f62960b3a565e4f4c287f31aba4da62 (patch)
tree90355cfdedc9adfdda56638afdae4eb51dcc8c87 /urpmf
parenta6df7f2c386bf2d46c41bdc0e15e699753037819 (diff)
downloadurpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar
urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar.gz
urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar.bz2
urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar.xz
urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.zip
move the "\n" in the print, it's nicer (but no real speedup)
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmf b/urpmf
index 25dbeae1..6ab2cced 100755
--- a/urpmf
+++ b/urpmf
@@ -146,10 +146,10 @@ my $sprintfargs = join(', ', map {
my $next_st = $multi ? 'next' : 'return 1';
my @inner = (
- "my \$s = sprintf(qq{$proto\\n}, $sprintfargs);",
+ "my \$s = sprintf(qq{$proto}, $sprintfargs);",
"\$s =~ $expr or $next_st;",
$uniq ? ('$uniq{$s} and ' . $next_st . ';', '$uniq{$s} = 1;') : (),
- 'print $s;',
+ 'print $s, "\n";',
);
if ($multi) {