commit: eb1e267427641ddef447e342f1ac7dd39242eca5 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Fri Mar 22 18:48:20 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Fri Mar 22 18:48:20 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=eb1e2674
append_modules(): Adjust indentation gen_initramfs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 50315cb..3ed560e 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -806,7 +806,7 @@ append_modules() { local group_modules local MOD_EXT="$(modules_kext)" - print_info 2 "initramfs: >> Searching for modules..." + print_info 2 "$(getIndent 2)initramfs: >> Searching for modules..." if [ "${INSTALL_MOD_PATH}" != '' ] then cd ${INSTALL_MOD_PATH} @@ -824,11 +824,11 @@ append_modules() { mymod=`find ./lib/modules/${KV} -name "${i}${MOD_EXT}" 2>/dev/null| head -n 1 ` if [ -z "${mymod}" ] then - print_warning 2 "Warning :: ${i}${MOD_EXT} not found; skipping..." + print_warning 2 "$(getIndent 3) - ${i}${MOD_EXT} not found; skipping..." continue; fi - print_info 2 "initramfs: >> Copying ${i}${MOD_EXT}..." + print_info 2 "$(getIndent 3) - Copying ${i}${MOD_EXT}..." cp -ax --parents "${mymod}" "${TEMP}/initramfs-modules-${KV}-temp" done