diff options
author | Sam James <sam@gentoo.org> | 2022-10-11 20:51:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-13 20:57:53 +0100 |
commit | 488311dce46f250c84df6baf511f44fd27b40de4 (patch) | |
tree | e8c73b4b25d882be24d94afb6c9f3b0cd7e13dd2 /eclass | |
parent | linux-mod.eclass: improve error handling for module compression (diff) | |
download | gentoo-488311dce46f250c84df6baf511f44fd27b40de4.tar.gz gentoo-488311dce46f250c84df6baf511f44fd27b40de4.tar.bz2 gentoo-488311dce46f250c84df6baf511f44fd27b40de4.zip |
linux-mod.eclass: cleanup whitespace
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index e4c71cdf2c15..7f4ddb9b8ee6 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -150,8 +150,8 @@ # It's a read-only variable. It contains the extension of the kernel modules. case ${EAPI:-0} in - [67]) - inherit eutils + [67]) + inherit eutils ;; 8) ;; @@ -361,8 +361,8 @@ generate_modulesd() { debug-print-function ${FUNCNAME} $* [ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return - local currm_path currm currm_t t myIFS myVAR - local module_docs module_enabled module_aliases \ + local currm_path currm currm_t t myIFS myVAR + local module_docs module_enabled module_aliases \ module_additions module_examples module_modinfo module_opts for currm_path in ${@} @@ -380,9 +380,9 @@ generate_modulesd() { module_additions="$(eval echo \${#MODULESD_${currm_t}_ADDITIONS[*]})" module_examples="$(eval echo \${#MODULESD_${currm_t}_EXAMPLES[*]})" - [[ ${module_aliases} -eq 0 ]] && unset module_aliases + [[ ${module_aliases} -eq 0 ]] && unset module_aliases [[ ${module_additions} -eq 0 ]] && unset module_additions - [[ ${module_examples} -eq 0 ]] && unset module_examples + [[ ${module_examples} -eq 0 ]] && unset module_examples # If we specify we dont want it, then lets exit, otherwise we assume # that if its set, we do want it. |