aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly/330.catman
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-03-05 19:13:05 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-03-05 19:13:05 +0000
commit90bbf5454c53a3e26b21d899aa5b5ca947b9bbe5 (patch)
treeb4275a4b19d3543fa641210967628b382f362562 /etc/periodic/weekly/330.catman
parentc6f55f33ea3ba141b1f0f6dd8238a1a2a6b8d250 (diff)
downloadsrc-90bbf5454c53a3e26b21d899aa5b5ca947b9bbe5.tar.gz
src-90bbf5454c53a3e26b21d899aa5b5ca947b9bbe5.zip
Environmental variable was not being passed to a subshell as intended.
PR: bin/35558 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
Notes
Notes: svn path=/head/; revision=91704
Diffstat (limited to 'etc/periodic/weekly/330.catman')
-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 6739ae9fec1a..9fed4e5e2c33 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