diff options
author | joeyh <joeyh> | 2006-03-29 00:38:07 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2006-03-29 00:38:07 +0000 |
commit | 4ee87e55597c8702203c1fa5361e5cf2e0124400 (patch) | |
tree | f9b5cc25a52619098a0aa8f5bda69d1192873d98 /dh_installman | |
parent | a40dc0e38a7c8fa89f8118f10b6dccd8faceb4f1 (diff) | |
download | debhelper-4ee87e55597c8702203c1fa5361e5cf2e0124400.tar.gz |
r1894: * dh_installman: die with an error if a man page read for so lines fails
Closes: #359020
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dh_installman b/dh_installman index 6544eae4..e8ed27da 100755 --- a/dh_installman +++ b/dh_installman @@ -205,6 +205,11 @@ sub find_so_man { } my $l=<SOTEST>; close SOTEST; + + if (! defined $l) { + error("failed to read $_"); + } + if ($l=~m/\.so\s+(.*)\s*/) { my $solink=$1; # This test is here to prevent links like ... man8/../man8/foo.8 |