commit:     8b98f9740405a83645a03c88b625f2905f59239f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 11:19:18 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 11:19:18 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8b98f974

gen_determineargs.sh: determine_real_args(): Allow "+" char in LOCALVERSION

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_determineargs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index f9bab6e..48c0c33 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -640,7 +640,7 @@ determine_real_args() {
 
        # We always need to populate KERNEL_LOCALVERSION to be able to warn
        # if user changed value but didn't rebuild kernel
-       local valid_localversion_pattern='^[A-Za-z0-9_.-]{1,}$'
+       local valid_localversion_pattern='^[A-Za-z0-9_.+-]{1,}$'
 
        if [ -n "${KERNEL_LOCALVERSION}" ]
        then

Reply via email to