File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ dh-dist-zilla (1.3.5) UNRELEASED; urgency=medium
5
5
* Declare compliance with Debian Policy 4.1.1.
6
6
* Bump debhelper compatibility level to 10.
7
7
+ Update versioned debhelper build-dependency accordingly.
8
+ * Make package perlcritic-severity-4-clean.
8
9
9
10
-- Axel Beckert <abe@debian.org> Sun, 11 Dec 2016 13:04:53 +0100
10
11
Original file line number Diff line number Diff line change 15
15
16
16
open (my $dmp , ' <' , $list_of_manpages );
17
17
while (my $line = <$dmp >) {
18
+ parse_line($line );
19
+ }
20
+ close ($dmp );
21
+
22
+ sub parse_line {
23
+ my $line = shift ;
18
24
chomp ($line );
19
25
20
26
# Weed out commments and empty lines
44
50
system (@pod2man , " --section=$section " ,
45
51
$name , " $man_page_name .$section " );
46
52
}
53
+
54
+ return ;
47
55
}
48
- close ($dmp );
49
56
50
57
sub get_names {
51
- return grep { -e } map { glob } @_ ;
58
+ my @globs = @_ ;
59
+ return grep { -e } map { glob } @globs ;
52
60
}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use Debian::Debhelper::Dh_Lib;
6
6
my $build_root = " .build" ;
7
7
my $build_dir = " $build_root /debian-build" ;
8
8
# Override dzil's looking for $HOME
9
- $ENV {DZIL_GLOBAL_CONFIG_ROOT } = $build_root ;
9
+ local $ENV {DZIL_GLOBAL_CONFIG_ROOT } = $build_root ;
10
10
11
11
insert_before(" dh_auto_configure" , " dh_dzil_build" );
12
12
You can’t perform that action at this time.
0 commit comments