summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-06-16 19:19:24 +0200
committerThomas Bächler <thomas@archlinux.org>2011-06-16 19:19:24 +0200
commitc0b5cbb50131334467ecc6eb35b30d863e5a34a5 (patch)
tree340625d5346f7f624e9db0912860d226f8554833
parent1c7bea5ebbbedcab2a7e8c0d9b7b9323bd4ec464 (diff)
downloadmkinitcpio-c0b5cbb50131334467ecc6eb35b30d863e5a34a5.tar.gz
mkinitcpio-c0b5cbb50131334467ecc6eb35b30d863e5a34a5.tar.xz
mkinitcpio: Unset GREP_OPTIONS to avoid broken images
-rwxr-xr-xmkinitcpio3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
index c6428bb..70710eb 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -41,6 +41,9 @@ fi
# Add /{,usr}/sbin to path
# works around undetected problems like in #8448
PATH="${PATH}:/sbin:/usr/sbin"
+# Sanitize environment further
+# GREP_OPTIONS="--color=always" will break everything
+unset GREP_OPTIONS
APPNAME=$(basename "${0}")