summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-10-21 19:32:37 +0200
committermaximilian attems <maks@debian.org>2005-10-21 19:32:37 +0200
commit2546ef6e65c7407c8352e5900cc3564b84bdb466 (patch)
tree038da786eb9c36c1a6bc03fbd29afcca65087673 /hook-functions
parent58fa8de0d0a4ab01326623978ed200b1ad429d3b (diff)
downloadinitramfs-tools-2546ef6e65c7407c8352e5900cc3564b84bdb466.tar.gz
initramfs-tools-2546ef6e65c7407c8352e5900cc3564b84bdb466.zip
fix my bad hand merging, verified against the last debian-kernel svn tree
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/hook-functions b/hook-functions
index 32a7e5f..189db2e 100644
--- a/hook-functions
+++ b/hook-functions
@@ -13,7 +13,7 @@ catenate_cpiogz() {
force_load()
{
manual_add_modules ${@}
- echo ${@} >>"${DESTDIR}/conf/modules"
+ echo "${@}" >>"${DESTDIR}/conf/modules"
}
# Takes a file containing a list of modules to be added as an
@@ -40,7 +40,7 @@ add_modules_from_file()
manual_add_modules()
{
- for mam_x in $(modprobe --set-version=${version} --show-depends ${1} 2>/dev/null | awk '{ print $2 }'); do
+ for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '{ print $2 }'); do
# Prune duplicates
if [ -e "${DESTDIR}/${mam_x}" ]; then
continue