aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
commitafcf05e46aacbe58f9fd8338ab6ecf9b7d06d004 (patch)
tree4d1655d724be575f060459c555ab30a5630ec3e9 /etc/periodic
parent7a6be913664526370f69f43e340b7ed33f20ea8f (diff)
downloadsrc-afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004.tar.gz
src-afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004.zip
setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
Notes
Notes: svn path=/head/; revision=73349
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/weekly/320.whatis2
-rwxr-xr-xetc/periodic/weekly/330.catman2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/weekly/320.whatis b/etc/periodic/weekly/320.whatis
index 6af77477a22c..dfc218ae008c 100755
--- a/etc/periodic/weekly/320.whatis
+++ b/etc/periodic/weekly/320.whatis
@@ -36,7 +36,7 @@ case "$weekly_whatis_enable" in
then
for i in ${man_locales}
do
- LC_CTYPE=$i /usr/libexec/makewhatis.local -a \
+ LC_ALL=$i /usr/libexec/makewhatis.local -a \
-L "${MANPATH}" || rc=3
done
fi
diff --git a/etc/periodic/weekly/330.catman b/etc/periodic/weekly/330.catman
index 999913fb7025..6739ae9fec1a 100755
--- a/etc/periodic/weekly/330.catman
+++ b/etc/periodic/weekly/330.catman
@@ -42,7 +42,7 @@ case "$weekly_catman_enable" in
then
for i in $man_locales
do
- LC_CTYPE=$i echo /usr/libexec/catman.local -L \
+ LC_ALL=$i echo /usr/libexec/catman.local -L \
"$MANPATH" | su -fm man || rc=3
done
fi