summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorjoey <joey>2001-02-17 03:45:51 +0000
committerjoey <joey>2001-02-17 03:45:51 +0000
commit7d8cbb20a8cfe12fd50cc82b0e52c1ac10b8993b (patch)
treea435d987fdb976047404f25b8456520da1602ed7 /dh_installman
parent88e188b9522cee85a86e4a4e0e76cdf71e0c891a (diff)
r447: * Corrected some uninitialized value stuff in dh_suidregister (actually
quite a bad bug). * dh_installman: fixed variable socoping error, so file conversions should work now.
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh_installman b/dh_installman
index b2a95bae..9c71774f 100755
--- a/dh_installman
+++ b/dh_installman
@@ -61,6 +61,9 @@ interface. Use this program instead.
init();
+my @sofiles;
+my @sodests;
+
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
my $file=pkgfile($package,"manpages");
@@ -137,8 +140,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
# Now the .so conversion.
- my @sofiles;
- my @sodests;
+ @sofiles=@sodests=();
foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
if (-e "$tmp/$dir") {
find(\&find_so_man, "$tmp/$dir");
@@ -152,8 +154,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
# Check if a file is a .so man page, for use by File::Find.
-my @sofiles;
-my @sodests;
sub find_so_man {
# The -s test is becuase a .so file tends to be small. We don't want
# to open every man page. 1024 is arbitrary.