From 5fb6b83423f310e6bfe5f15f94ac3ea31dfbda55 Mon Sep 17 00:00:00 2001 From: Pablo Lezaeta Date: Wed, 5 Dec 2012 00:00:23 -0300 Subject: [PATCH] Fix manpage place place, script fetch 6 but manpage are 0 Signed-off-by: Pablo Lezaeta --- dev/spell.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev/spell.sh b/dev/spell.sh index 9fe617e7..d0ee0892 100755 --- a/dev/spell.sh +++ b/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 }