diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-10-02 14:30:18 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-10-02 14:30:18 +0200 |
commit | 17e112fcedaa5bd5f5c5a8e573bd3fe8dc08879d (patch) | |
tree | f72a3ca4d7d6c53975754860adbdba148199604b /gen_cmdline.sh | |
parent | gen_cmdline.sh: Move --bootloader validation to determine_real_args() (diff) | |
download | genkernel-17e112fcedaa5bd5f5c5a8e573bd3fe8dc08879d.tar.gz genkernel-17e112fcedaa5bd5f5c5a8e573bd3fe8dc08879d.tar.bz2 genkernel-17e112fcedaa5bd5f5c5a8e573bd3fe8dc08879d.zip |
gen_cmdline.sh: parse_cmdline(): Fix --strip argument parsing
Closes: https://bugs.gentoo.org/696056
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-x | gen_cmdline.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh index 825b80c..fa8a7c3 100755 --- a/gen_cmdline.sh +++ b/gen_cmdline.sh @@ -805,7 +805,7 @@ parse_cmdline() { print_info 3 "CMD_NICE: ${CMD_NICE}" ;; --strip=*) - CMD_STRIP_TYPE=$(parse_opt "$*") + CMD_STRIP_TYPE="${*#*=}" print_info 3 "CMD_STRIP_TYPE: ${CMD_STRIP_TYPE}" ;; --no-strip) |