summaryrefslogtreecommitdiffstats
path: root/contrib/groff/nroff
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-11-23 02:31:40 +0000
committerache <ache@FreeBSD.org>1996-11-23 02:31:40 +0000
commit21ba09024d45cc1e5a94cd62484004cda50ddb51 (patch)
treee6c4bdbeaea723fa4173aed9b45f6adf604d8291 /contrib/groff/nroff
parentb63c62d83045f7979db1916dce8aa337236c009a (diff)
downloadFreeBSD-src-21ba09024d45cc1e5a94cd62484004cda50ddb51.zip
FreeBSD-src-21ba09024d45cc1e5a94cd62484004cda50ddb51.tar.gz
Understand ru_RU too
Diffstat (limited to 'contrib/groff/nroff')
-rwxr-xr-xcontrib/groff/nroff/nroff.sh3
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
OpenPOWER on IntegriCloud