summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2002-03-05 19:13:05 +0000
committercjc <cjc@FreeBSD.org>2002-03-05 19:13:05 +0000
commitbe470ebd23aa7ac65842624657d6a9ab923a29f1 (patch)
treeb4275a4b19d3543fa641210967628b382f362562 /etc/periodic
parent3a1d17e45b65f471a48cabb1b46335480f777c36 (diff)
downloadFreeBSD-src-be470ebd23aa7ac65842624657d6a9ab923a29f1.zip
FreeBSD-src-be470ebd23aa7ac65842624657d6a9ab923a29f1.tar.gz
Environmental variable was not being passed to a subshell as intended.
PR: bin/35558 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/weekly/330.catman4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/weekly/330.catman b/etc/periodic/weekly/330.catman
index 6739ae9..9fed4e5 100755
--- a/etc/periodic/weekly/330.catman
+++ b/etc/periodic/weekly/330.catman
@@ -42,8 +42,8 @@ case "$weekly_catman_enable" in
then
for i in $man_locales
do
- LC_ALL=$i echo /usr/libexec/catman.local -L \
- "$MANPATH" | su -fm man || rc=3
+ echo /usr/libexec/catman.local -L \
+ "$MANPATH" | LC_ALL=$i su -fm man || rc=3
done
fi
fi
OpenPOWER on IntegriCloud