commit:     117519303e1a91b2e115993b28a886def4771092
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 11:20:10 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 11:35:58 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=11751930

gen_determineargs.sh: determine_output_filenames(): Allow "+" char in filename

Allowed in LOCALVERSION and automatically set by kernel's setlocalversion
script when SCM sources are modified.

Bug: https://bugs.gentoo.org/691412
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 48c0c33..d2fbd86 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -229,7 +229,7 @@ determine_output_filenames() {
        filename_vars+=( 'GK_FILENAME_SYSTEMMAP;--systemmap-filename' )
        filename_vars+=( 
'GK_FILENAME_SYSTEMMAP_SYMLINK;--systemmap-symlink-name' )
 
-       local valid_filename_pattern='^[a-zA-Z0-9_.-]{1,}$'
+       local valid_filename_pattern='^[a-zA-Z0-9_.+-]{1,}$'
        local filename_combo filename_varname filename_option
 
        for filename_combo in "${filename_vars[@]}"

Reply via email to