Merge pull request #69936 from marsam/fix-lsof-manpage
lsof: fix man page
This commit is contained in:
commit
18d612c89b
@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
# Fix references from man page https://github.com/lsof-org/lsof/issues/66
|
||||||
|
substituteInPlace Lsof.8 \
|
||||||
|
--replace ".so ./00DIALECTS" "" \
|
||||||
|
--replace ".so ./version" ".ds VN ${version}"
|
||||||
mkdir -p $out/bin $out/man/man8
|
mkdir -p $out/bin $out/man/man8
|
||||||
cp Lsof.8 $out/man/man8/lsof.8
|
cp Lsof.8 $out/man/man8/lsof.8
|
||||||
cp lsof $out/bin
|
cp lsof $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user