diff options
author | 2020-01-11 00:33:08 +0100 | |
---|---|---|
committer | 2020-01-11 00:33:41 +0100 | |
commit | 66ec240910ffa979fd18fb8528df6660af2d5ee9 (patch) | |
tree | 5aa88e8a1a04602f653e7954097e75d25912b6f4 /gen_configkernel.sh | |
parent | gen_compile.sh: compile_modules(): Add parameter "copy_kernel" (diff) | |
download | genkernel-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_configkernel.sh')
-rwxr-xr-x | gen_configkernel.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh index dd47df6..6943050 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -79,11 +79,11 @@ determine_kernel_config_file() { if [ -f "${f}" ] then - if grep -sq THIS_CONFIG_IS_BROKEN "$f" + if grep -sq THIS_CONFIG_IS_BROKEN "${f}" then print_info 2 "$(get_indent 1)- '${f}' is marked as broken; Skipping ..." else - KERNEL_CONFIG="$f" && break + KERNEL_CONFIG="${f}" && break fi else print_info 2 "$(get_indent 1)- '${f}' not found; Skipping ..." @@ -845,12 +845,12 @@ config_kernel() { local k for k in "${kconfigs_microcode[@]}" do - local cfg=$(kconfig_get_opt "${KERNEL_OUTPUTDIR}/.config" "$k") + local cfg=$(kconfig_get_opt "${KERNEL_OUTPUTDIR}/.config" "${k}") case "${cfg}" in y) ;; # Do nothing *) cfg='y' esac - kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "$k" "${cfg}" + kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "${k}" "${cfg}" done required_kernel_options+=( 'CONFIG_MICROCODE' ) |