commit:     8eddd413486f2fc58a56dc615f8f947dfbb62e07
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 23 01:09:50 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 08:06:17 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8eddd413

Fix "--compress-initramfs-type" parameter

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 f8d6a2c..b7bd212 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -679,8 +679,8 @@ parse_cmdline() {
                        print_info 2 
"CMD_COMPRESS_INITRD=${CMD_COMPRESS_INITRD}"
                        ;;
                --compress-initramfs-type=*|--compress-initrd-type=*)
-                       COMPRESS_INITRD_TYPE="${*#*=}"
-                       print_info 2 "CMD_COMPRESS_INITRD_TYPE: ${CMD_LINUXRC}"
+                       CMD_COMPRESS_INITRD_TYPE="${*#*=}"
+                       print_info 2 "CMD_COMPRESS_INITRD_TYPE: 
${CMD_COMPRESS_INITRD_TYPE}"
                        ;;
                --config=*)
                        print_info 2 "CMD_GK_CONFIG: "${*#*=}""

Reply via email to