summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-08-09 07:55:29 +0200
committerAaron Griffin <aaron@archlinux.org>2006-08-09 07:55:29 +0200
commitbda5ebb687bb96242120203f7b174d89cbd810d8 (patch)
tree285879f43e06d78f4c290f0593354bad637b7ed4
parentfa3196ada9c51ac252afe5e5162c5f19c9906529 (diff)
downloadmkinitcpio-bda5ebb687bb96242120203f7b174d89cbd810d8.tar.gz
mkinitcpio-bda5ebb687bb96242120203f7b174d89cbd810d8.tar.xz
As of klibc-extras 2.0, 'replace' replaces 'split'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@154 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--init4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 8d7742b..10c4881 100644
--- a/init
+++ b/init
@@ -27,13 +27,13 @@ for cmd in $CMDLINE; do
done
if [ "x${disablehooks}" != "x" ]; then
- for d in $(split ${disablehooks} ','); do
+ for d in $(replace -q ${disablehooks} ','); do
export "hook_${d}=disabled"
done
fi
if [ "x${disablemodules}" != "x" ]; then
- for d in $(split ${disablemodules} ','); do
+ for d in $(replace -q ${disablemodules} ','); do
export "mod_${d}=disabled"
done
fi