aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-06 17:22:37 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-06 17:27:46 +0100
commitca0338252c5a6837f420ad93114f481d7af32afc (patch)
tree5acb8696e4635e424be3d3e9eac510828150c4c9
parentgenkernel: normalize locales (diff)
downloadgenkernel-ca0338252c5a6837f420ad93114f481d7af32afc.tar.gz
genkernel-ca0338252c5a6837f420ad93114f481d7af32afc.tar.bz2
genkernel-ca0338252c5a6837f420ad93114f481d7af32afc.zip
genkernel: make sure GREP_OPTIONS is unset
We are using grep command and user could have set GREP_OPTIONS environment variable which could cause problems. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-xgenkernel1
1 files changed, 1 insertions, 0 deletions
diff --git a/genkernel b/genkernel
index 85c2021..7d5a75e 100755
--- a/genkernel
+++ b/genkernel
@@ -46,6 +46,7 @@ then
GK_SETTINGS+=( EXTRAVERSION )
GK_SETTINGS+=( INSTALL_MOD_PATH )
GK_SETTINGS+=( MOD_INSTALL )
+ GK_SETTINGS+=( GREP_OPTIONS )
for GK_SETTING in "${GK_SETTINGS[@]}"
do