diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-06-14 00:32:22 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-06-16 10:40:55 +0200 |
commit | 1c7bea5ebbbedcab2a7e8c0d9b7b9323bd4ec464 (patch) | |
tree | 214314743c080c77d76d176599fcc110e20175ef | |
parent | b404d5fd80fd478f796832bed1c089d431727e50 (diff) | |
download | mkinitcpio-1c7bea5ebbbedcab2a7e8c0d9b7b9323bd4ec464.tar.gz mkinitcpio-1c7bea5ebbbedcab2a7e8c0d9b7b9323bd4ec464.tar.xz |
Fix detection of not compressed modules
Function all_modules() doesn't correctly detect module extension.
It's a one char removing patch.
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ all_modules () while read -r -d '' mod; do (( ++count )) mod=${mod##*/} - mod="${mod%.ko.*}" + mod="${mod%.ko*}" printf '%s\n' "${mod//-/_}" done < <(find "$MODULEDIR" -name '*.ko*' -print0 2>/dev/null | grep -Zz "$@") |