mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-24 21:37:59 +01:00
Actually we use man.6 not man.0
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
This commit is contained in:
parent
3ae81be068
commit
ae8183effa
1 changed files with 6 additions and 6 deletions
12
dev/spell.sh
12
dev/spell.sh
|
@ -27,14 +27,14 @@ man()
|
|||
langarg="$en"
|
||||
fi
|
||||
|
||||
if [ -f "./manuals/manpage${lang}.0" ]; then
|
||||
aspell --lang="${langarg}" check "./manuals/manpage${lang}.0"
|
||||
git add "./manuals/manpage${lang}.0"
|
||||
elif [ -f "../manuals/manpage${lang}.0" ]; then
|
||||
if [ -f "./manuals/manpage${lang}.6" ]; then
|
||||
aspell --lang="${langarg}" check "./manuals/manpage${lang}.6"
|
||||
git add "./manuals/manpage${lang}.6"
|
||||
elif [ -f "../manuals/manpage${lang}.6" ]; then
|
||||
aspell --lang="${langarg}" check "../manuals/manpage${lang}.0"
|
||||
git add "../manuals/manpage${lang}.0"
|
||||
git add "../manuals/manpage${lang}.6"
|
||||
else
|
||||
echo "spell.sh: unable to find document: manpage${lang}.0" >&2
|
||||
echo "spell.sh: unable to find document: manpage${lang}.6" >&2
|
||||
exit -1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue