summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorjoey <joey>2003-08-10 03:27:20 +0000
committerjoey <joey>2003-08-10 03:27:20 +0000
commit3d0aaf0cea94bd00a9ea6bc30ed8388b62c7f38b (patch)
treefe20710be57cdfc73e7a35c5006304ab06cc43af /dh_installman
parent8406a1dbd219c99c3039d66c158fb842a2fb0833 (diff)
r1584: * Fix a bug in quoted section parsing that put the quotes in the parsed
out section number. Closes: #204731
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman
index 84b9469a..9adca670 100755
--- a/dh_installman
+++ b/dh_installman
@@ -114,7 +114,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
open (IN, $page) or die "$page: $!";
}
while (<IN>) {
- if (/^\.TH\s+\S+\s+"?(\d+\S*)"?/) {
+ if (/^\.TH\s+\S+\s+"?(\d+[^"\s]*)"?/) {
$section=$1;
last;
}