commit: 5eec9816d141ccc5b7a3b32ac1306f3be0bdc8a2
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 16:25:40 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 19:54:40 2020 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5eec9816
gen_cmdline.sh: parse_cmdline(): Allow for "=" in --callback
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gen_cmdline.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index db9c1f8..c0139d4 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -613,8 +613,8 @@ parse_cmdline() {
print_info 3 "CMD_MODULEREBUILD_CMD:
${CMD_MODULEREBUILD_CMD}"
;;
--callback=*)
- CMD_CALLBACK="${*#*=}"
- print_info 3 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
+ CMD_CALLBACK="${*#--callback=}"
+ print_info 3 "CMD_CALLBACK: ${CMD_CALLBACK}"
;;
--static|--no-static)
CMD_STATIC=$(parse_optbool "$*")