diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-11-16 02:10:39 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-11-16 02:16:29 +0100 |
commit | b3160531f071ba7ed9861086398c5ffbcc456808 (patch) | |
tree | a2a27c20f92b0a4c7776e5134871767800e79b67 /init | |
parent | 6ad8b6d7795a9701f2f5bcca3e1d685598f7102b (diff) | |
download | mkinitcpio-b3160531f071ba7ed9861086398c5ffbcc456808.tar.gz mkinitcpio-b3160531f071ba7ed9861086398c5ffbcc456808.tar.xz |
init: Remove sed cmd usage
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'init')
-rw-r--r-- | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ else fi if [ -n "${disablehooks}" ]; then - for d in $(echo "${disablehooks}" | sed 's|,| |g'); do + for d in ${disablehooks//,/ }; do eval "hook_${d}=disabled" done fi |