aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/man/MKterminfo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/man/MKterminfo.sh')
-rwxr-xr-xcontrib/ncurses/man/MKterminfo.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/ncurses/man/MKterminfo.sh b/contrib/ncurses/man/MKterminfo.sh
index a6f765a4f00c..d4e25c51e89f 100755
--- a/contrib/ncurses/man/MKterminfo.sh
+++ b/contrib/ncurses/man/MKterminfo.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#***************************************************************************
-# Copyright (c) 1998 Free Software Foundation, Inc. *
+# Copyright (c) 1998-2000 Free Software Foundation, Inc. *
# *
# Permission is hereby granted, free of charge, to any person obtaining a *
# copy of this software and associated documentation files (the *
@@ -27,7 +27,7 @@
# authorization. *
#***************************************************************************
#
-# $Id: MKterminfo.sh,v 1.5 1998/09/06 00:20:01 tom Exp $
+# $Id: MKterminfo.sh,v 1.6 2000/01/25 11:31:57 tom Exp $
#
# MKterminfo.sh -- generate terminfo.5 from Caps tabular data
#
@@ -40,6 +40,12 @@
#  to \n because I couldn't get used to inserting linefeeds directly. There
# had better be no s in the table source text.
#
+# keep the order independent of locale:
+LANGUAGE=C
+LC_ALL=C
+export LANGUAGE
+export LC_ALL
+#
head=$1
caps=$2
tail=$3