diff options
author | Thomas Bächler <thomas@archlinux.org> | 2006-08-04 13:22:16 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2006-08-04 13:22:16 +0200 |
commit | b81b2b920d300f1cb292fecf96e9d590497607f8 (patch) | |
tree | dabd9f0256e0775bbd7344d3997f917f97bc5e3c /init | |
parent | e9aa72aef50d72b8bb358cd5ef126d3ce9c64635 (diff) | |
download | mkinitcpio-b81b2b920d300f1cb292fecf96e9d590497607f8.tar.gz mkinitcpio-b81b2b920d300f1cb292fecf96e9d590497607f8.tar.xz |
Solved IFS issues
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@139 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'init')
-rw-r--r-- | init | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -25,20 +25,17 @@ for cmd in $CMDLINE; do esac done -OLDIFS=$IFS -IFS=, if [ "x${disablehooks}" != "x" ]; then - for d in ${disablehooks}; do + for d in $(subs -n ',' ${disablehooks}); do export "hook_${d}=disabled" done fi if [ "x${disablemodules}" != "x" ]; then - for d in ${disablemodules}; do + for d in $(subs -n ',' ${disablemodules}); do export "mod_${d}=disabled" done fi -IFS=$OLDIFS . /config |