aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-01-11 00:33:08 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-01-11 00:33:41 +0100
commit66ec240910ffa979fd18fb8528df6660af2d5ee9 (patch)
tree5aa88e8a1a04602f653e7954097e75d25912b6f4 /gen_cmdline.sh
parentgen_compile.sh: compile_modules(): Add parameter "copy_kernel" (diff)
downloadgenkernel-66ec240910ffa979fd18fb8528df6660af2d5ee9.tar.gz
genkernel-66ec240910ffa979fd18fb8528df6660af2d5ee9.tar.bz2
genkernel-66ec240910ffa979fd18fb8528df6660af2d5ee9.zip
Style fix: Use curly braces
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-xgen_cmdline.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index c33f738..025187f 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -273,7 +273,7 @@ usage() {
parse_optbool() {
local opt=${1/--no-*/no} # false
opt=${opt/--*/yes} # true
- echo $opt
+ echo ${opt}
}
parse_cmdline() {
@@ -394,7 +394,7 @@ parse_cmdline() {
;;
--microcode=*)
CMD_MICROCODE="${*#*=}"
- print_info 3 "CMD_MICROCODE: $CMD_MICROCODE"
+ print_info 3 "CMD_MICROCODE: ${CMD_MICROCODE}"
;;
--microcode-initramfs|--no-microcode-initramfs)
CMD_MICROCODE_INITRAMFS=$(parse_optbool "$*")