* Use the sh from klibc in the bootstrap. It's a lot smaller than

bash.  Also, use the cpio from klibc instead of tar.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13905
This commit is contained in:
Eelco Dolstra
2009-01-29 17:48:45 +00:00
parent c584bb878a
commit 1c623126c7
3 changed files with 35 additions and 12 deletions
@@ -4,7 +4,7 @@ ensureDir $out/bin
cat > $out/bin/nuke-refs <<EOF
#! $SHELL -e
for i in \$*; do
if ! test -L \$i; then
if test ! -L \$i -a -f \$i; then
cat \$i | sed "s|/nix/store/[a-z0-9]*-|/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" > \$i.tmp
if test -x \$i; then chmod +x \$i.tmp; fi
mv \$i.tmp \$i