From 13ea9ee2776d515101af4da5f06bd0f413a922cc Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 16 Mar 2008 11:02:28 +0100 Subject: Fix a potential bug due to a wrong find call --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b