diff options
Diffstat (limited to 'contrib/groff/nroff/nroff.sh')
-rwxr-xr-x | contrib/groff/nroff/nroff.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/groff/nroff/nroff.sh b/contrib/groff/nroff/nroff.sh index 05b953b..02cd72f 100755 --- a/contrib/groff/nroff/nroff.sh +++ b/contrib/groff/nroff/nroff.sh @@ -8,7 +8,8 @@ if test `expr "$LC_CTYPE" : ".*\.ISO_8859-1"` -gt 0 || \ then T=-Tlatin1 else -if test "X$LC_CTYPE" = "Xru_SU.KOI8-R" || test "X$LANG" = "Xru_SU.KOI8-R" +if test `expr "$LC_CTYPE" : ".*\.KOI8-R"` -gt 0 || \ + test `expr "$LANG" : ".*\.KOI8-R"` -gt 0 then T=-Tkoi8-r else |