summaryrefslogtreecommitdiff
path: root/dracut.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-05 16:21:50 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-05 16:27:34 +0200
commit02b5c8e3a31e277fde4844b1921fe3f340b28c65 (patch)
treee1ea3b1bbd43ee4b410de842ea77ce0ace55e99d /dracut.sh
parentf734347ae7da6943342b2a4e7be99b3e2c6feda7 (diff)
downloaddracut-02b5c8e3a31e277fde4844b1921fe3f340b28c65.tar.gz
dracut-02b5c8e3a31e277fde4844b1921fe3f340b28c65.tar.bz2
dracut-02b5c8e3a31e277fde4844b1921fe3f340b28c65.zip
dracut.sh: unset all LC_* and LANG
saves 10% of time :-)
Diffstat (limited to 'dracut.sh')
-rwxr-xr-xdracut.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dracut.sh b/dracut.sh
index c3846ed2..cfa25ca0 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -500,6 +500,10 @@ for i in /usr/sbin /sbin /usr/bin /bin; do
fi
done
export PATH="${NPATH#:}"
+unset LC_MESSAGES
+unset LC_CTYPE
+export LC_ALL=C
+export LANG=C
unset NPATH
unset LD_LIBRARY_PATH
unset GREP_OPTIONS