fixup cdist-reference: match only on .7 now, otherwise .html and .text is shown in manpage

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-02 03:30:35 +02:00
parent 5f0ecb0831
commit 762fa52638

View file

@ -187,7 +187,7 @@ SEE ALSO
-------- --------
- cdist(7) - cdist(7)
eof eof
for type in man7/cdist-type__*; do for type in man7/cdist-type__*.7; do
name_1="${type#man7/}" name_1="${type#man7/}"
name_2="${name_1%.7}" name_2="${name_1%.7}"