summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Dpkg/Source/Package/V2.pm2
-rwxr-xr-xscripts/dpkg-scanpackages.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Dpkg/Source/Package/V2.pm b/scripts/Dpkg/Source/Package/V2.pm
index de0a2073d..d1147d006 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -652,7 +652,7 @@ sub do_commit {
}
while (_is_bad_patch_name($dir, $patch_name)) {
# Ask the patch name interactively
- print STDOUT _g('Enter the desired patch name: ');
+ print _g('Enter the desired patch name: ');
chomp($patch_name = <STDIN>);
$patch_name =~ s/\s+/-/g;
$patch_name =~ s/\///g;
diff --git a/scripts/dpkg-scanpackages.pl b/scripts/dpkg-scanpackages.pl
index ded62d673..d643eb178 100755
--- a/scripts/dpkg-scanpackages.pl
+++ b/scripts/dpkg-scanpackages.pl
@@ -258,7 +258,7 @@ for my $p (sort keys %packages) {
push(@missingover,$p);
}
for my $package (@{$packages{$p}}) {
- print(STDOUT "$package\n") or syserr(_g('failed when writing stdout'));
+ print("$package\n") or syserr(_g('failed when writing stdout'));
$records_written++;
}
}