commit:     ca0338252c5a6837f420ad93114f481d7af32afc
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  6 16:22:37 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 16:27:46 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ca033825

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 <AT> gentoo.org>

 genkernel | 1 +
 1 file changed, 1 insertion(+)

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

Reply via email to