Fix broken qop.5 man page generation
$base should not include sub directories. Filter them out. Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
1614c49354
commit
06130cf7bf
@@ -14,7 +14,7 @@ catinstall="${INSTALL_CATPAGES-yes}"
|
|||||||
|
|
||||||
for f in "$@"; do
|
for f in "$@"; do
|
||||||
echo $f
|
echo $f
|
||||||
base=`echo "$f" | sed 's/\.[^.]*$//'`
|
base=`echo "$f" | sed 's~\.[^.]*$~~; s~.*/~~'`
|
||||||
section=`echo "$f" | sed 's/^[^.]*\.//'`
|
section=`echo "$f" | sed 's/^[^.]*\.//'`
|
||||||
mandir="$manbase/man$section"
|
mandir="$manbase/man$section"
|
||||||
catdir="$manbase/cat$section"
|
catdir="$manbase/cat$section"
|
||||||
|
Reference in New Issue
Block a user