summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-03-16 11:02:28 +0100
committerThomas Bächler <thomas@archlinux.org>2008-03-16 11:02:28 +0100
commit13ea9ee2776d515101af4da5f06bd0f413a922cc (patch)
treec774b5577f2d54c574afd493a36a9fba60a2729e /functions
parentc98f860009e05b4d3f10b914ade3a5fad1df6b24 (diff)
downloadmkinitcpio-13ea9ee2776d515101af4da5f06bd0f413a922cc.tar.gz
mkinitcpio-13ea9ee2776d515101af4da5f06bd0f413a922cc.tar.xz
Fix a potential bug due to a wrong find call
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index ce8a544..c4229f6 100644
--- a/functions
+++ b/functions
@@ -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