diff options
author | Thomas Bächler <thomas@archlinux.org> | 2007-11-03 09:57:46 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2007-11-03 09:57:46 +0100 |
commit | 048c400670a7b539ecfa9d1a7e1ddf2a8777b471 (patch) | |
tree | a4659d5783c8be16b679e1ada4e37d516b5e77d9 /functions | |
parent | c1bcfed95fd1e24939cec97e90c4672f8fd78e64 (diff) | |
download | mkinitcpio-048c400670a7b539ecfa9d1a7e1ddf2a8777b471.tar.gz mkinitcpio-048c400670a7b539ecfa9d1a7e1ddf2a8777b471.tar.xz |
Fix Archlinux bug #8490, HAS_MODULES was only set if a dependency of
a module is found, not for the module itself.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,9 +150,9 @@ add_module () for mod in $(/sbin/modinfo -F depends "${path}" | tr ',' ' '); do if [ -n "${mod}" ]; then add_module "${mod}" - HAS_MODULES="y" fi done + HAS_MODULES="y" add_file "${path}" && found=1 done if [ $found -eq 0 ]; then |