summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2006-08-06 20:50:41 +0200
committerThomas Bächler <thomas@archlinux.org>2006-08-06 20:50:41 +0200
commitd21b21ae50c674e3f663ec67a72e9cf3354cfb1a (patch)
tree1d15465355587c185f3f69b89753cd5132fc20a6
parentd74249c258fd3b0716b7f0a2aadcabc574e6ca77 (diff)
downloadmkinitcpio-d21b21ae50c674e3f663ec67a72e9cf3354cfb1a.tar.gz
mkinitcpio-d21b21ae50c674e3f663ec67a72e9cf3354cfb1a.tar.xz
fixed init again
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@144 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--init2
-rwxr-xr-xinstall.sh5
2 files changed, 1 insertions, 6 deletions
diff --git a/init b/init
index aa95ae4..49ea8ae 100644
--- a/init
+++ b/init
@@ -26,7 +26,7 @@ for cmd in $CMDLINE; do
done
if [ "x${disablehooks}" != "x" ]; then
- for d in $(subs -n ',' ${disablehooks}); do
+ for d in $(split ${disablehooks} ','); do
export "hook_${d}=disabled"
done
fi
diff --git a/install.sh b/install.sh
index 0820065..a704f29 100755
--- a/install.sh
+++ b/install.sh
@@ -16,8 +16,3 @@ install -D -m755 init ${1}/lib/initcpio/init
install -D -m644 functions ${1}/lib/initcpio/functions
cp -r hooks/ ${1}/lib/initcpio/
cp -r install/ ${1}/lib/initcpio/
-
-# install subs tool to solve IFS issues
-cd subs
-make
-install -D -m755 subs ${1}/usr/lib/klibc/bin/subs