Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Sun, 12 Jan 2020 14:59:31
Message-Id: 1578772480.5eec9816d141ccc5b7a3b32ac1306f3be0bdc8a2.whissi@gentoo
1 commit: 5eec9816d141ccc5b7a3b32ac1306f3be0bdc8a2
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 11 16:25:40 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 11 19:54:40 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5eec9816
7
8 gen_cmdline.sh: parse_cmdline(): Allow for "=" in --callback
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 gen_cmdline.sh | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/gen_cmdline.sh b/gen_cmdline.sh
16 index db9c1f8..c0139d4 100755
17 --- a/gen_cmdline.sh
18 +++ b/gen_cmdline.sh
19 @@ -613,8 +613,8 @@ parse_cmdline() {
20 print_info 3 "CMD_MODULEREBUILD_CMD: ${CMD_MODULEREBUILD_CMD}"
21 ;;
22 --callback=*)
23 - CMD_CALLBACK="${*#*=}"
24 - print_info 3 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
25 + CMD_CALLBACK="${*#--callback=}"
26 + print_info 3 "CMD_CALLBACK: ${CMD_CALLBACK}"
27 ;;
28 --static|--no-static)
29 CMD_STATIC=$(parse_optbool "$*")