mirror of
https://github.com/erkin/ponysay.git
synced 2025-01-31 10:26:43 +01:00
Fix manpage place place, script fetch 6 but manpage are 0
Signed-off-by: Pablo Lezaeta <prflr88@gmail.com>
This commit is contained in:
parent
c669154a20
commit
5fb6b83423
1 changed files with 7 additions and 7 deletions
14
dev/spell.sh
14
dev/spell.sh
|
@ -26,14 +26,14 @@ man()
|
|||
langarg="$en"
|
||||
fi
|
||||
|
||||
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}.6"
|
||||
git add "../manuals/manpage${lang}.6"
|
||||
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
|
||||
aspell --lang="${langarg}" check "../manuals/manpage${lang}.0"
|
||||
git add "../manuals/manpage${lang}.0"
|
||||
else
|
||||
echo "spell.sh: unable to find document: manpage${lang}.6" >&2
|
||||
echo "spell.sh: unable to find document: manpage${lang}.0" >&2
|
||||
exit -1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue