diff options
author | maximilian attems <maks@debian.org> | 2005-10-21 19:32:37 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-10-21 19:32:37 +0200 |
commit | 2546ef6e65c7407c8352e5900cc3564b84bdb466 (patch) | |
tree | 038da786eb9c36c1a6bc03fbd29afcca65087673 /hook-functions | |
parent | 58fa8de0d0a4ab01326623978ed200b1ad429d3b (diff) | |
download | initramfs-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-functions | 4 |
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 |