summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-16 02:10:39 +0100
committerDave Reisner <dreisner@archlinux.org>2011-11-16 02:16:29 +0100
commitb3160531f071ba7ed9861086398c5ffbcc456808 (patch)
treea2a27c20f92b0a4c7776e5134871767800e79b67 /init
parent6ad8b6d7795a9701f2f5bcca3e1d685598f7102b (diff)
downloadmkinitcpio-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--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 8fd467c..7cc2d47 100644
--- a/init
+++ b/init
@@ -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