projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edea870
)
dracut-functions.sh: instmods() print only filename instead of fullpath
author
Harald Hoyer
<harald@redhat.com>
Sat, 25 Feb 2012 15:10:07 +0000
(16:10 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Sat, 25 Feb 2012 16:09:14 +0000
(17:09 +0100)
do not print the full path, when we use "find" for kernel modules, but
rather only the filename.
dracut-functions.sh
patch
|
blob
|
history
diff --git
a/dracut-functions.sh
b/dracut-functions.sh
index
bd3203d
..
80714aa
100755
(executable)
--- a/
dracut-functions.sh
+++ b/
dracut-functions.sh
@@
-1109,7
+1109,7
@@
instmods() {
| instmods
else
( [[ "$_mpargs" ]] && echo $_mpargs
- find "$srcmods" -path "*/${_mod#=}/*" ) \
+ find "$srcmods" -path "*/${_mod#=}/*"
-printf '%f\n'
) \
| instmods
fi
;;