fish: follow links to find man pages

Some packages link man pages, e.g. if a package is wrapped with
`buildEnv`.
This commit is contained in:
Alexander Ben Nasrallah 2022-05-01 12:55:28 +02:00 committed by Robert Helgesson
parent b59f682e86
commit 68aebb45de
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -332,7 +332,7 @@ in {
mkdir -p $out
for src in $srcs; do
if [ -d $src/share/man ]; then
find $src/share/man -type f \
find -L $src/share/man -type f \
| xargs python ${cfg.package}/share/fish/tools/create_manpage_completions.py --directory $out \
> /dev/null
fi