summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-04 10:20:35 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-04 10:20:35 +0200
commitcb07072558843db27776a4fa81012c7040d986db (patch)
tree7ed2b35df2e73b5c1911a49100e2d9e7acb29997 /functions
parent9f72836f201e6ad8188ee94c99c3e9a03217c994 (diff)
downloadmkinitcpio-cb07072558843db27776a4fa81012c7040d986db.tar.gz
mkinitcpio-cb07072558843db27776a4fa81012c7040d986db.tar.xz
Filesystem update - allow a pre-made device node (udev)
functions : Bugfix grep on checked_modules git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@58 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index e8e7868..3db6e02 100644
--- a/functions
+++ b/functions
@@ -23,7 +23,7 @@ checked_modules ()
{
if [ -e "${MODULE_FILE}" ]; then
for mod in $(all_modules ${@}); do
- if grep "$(basename ${mod%%\.ko})" "${MODULE_FILE}" >/dev/null 2>&1; then
+ if grep "^$(basename ${mod%%\.ko})$" "${MODULE_FILE}" >/dev/null 2>&1; then
echo ${mod}
fi
done