diff options
author | Thomas Bächler <thomas@archlinux.org> | 2008-03-16 11:02:28 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-03-16 11:02:28 +0100 |
commit | 13ea9ee2776d515101af4da5f06bd0f413a922cc (patch) | |
tree | c774b5577f2d54c574afd493a36a9fba60a2729e | |
parent | c98f860009e05b4d3f10b914ade3a5fad1df6b24 (diff) | |
download | mkinitcpio-13ea9ee2776d515101af4da5f06bd0f413a922cc.tar.gz mkinitcpio-13ea9ee2776d515101af4da5f06bd0f413a922cc.tar.xz |
Fix a potential bug due to a wrong find call
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ auto_modules () all_modules () { - mods=$(find ${MODULEDIR} -name *.ko 2>/dev/null | grep $@ | sort -u) + mods=$(find ${MODULEDIR} -name '*.ko' 2>/dev/null | grep $@ | sort -u) echo "${mods}" [ -z "${mods}" ] && return 1 |