Again attempting to add gunzip to the bootstrap-tools to allow the ppq

installation.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18690
This commit is contained in:
Lluís Batlle i Rossell 2009-11-28 19:21:33 +00:00
parent 5c0bb27a86
commit 641101c7fd
2 changed files with 14 additions and 2 deletions

View file

@ -41,7 +41,13 @@ mv $out/lib/libpthread.so.tmp $out/lib/libpthread.so
# Provide some additional symlinks.
ln -s bash $out/bin/sh
ln -s bzip2 $out/bin/bunzip2
ln -s gzip $out/bin/gunzip
# Mimic the gunzip script as in gzip installations
cat > $out/bin/gunzip <<EOF
#!$out/bin/sh
exec $out/bin/gzip -d "\$@"
EOF
chmod +x $out/bin/gunzip
# fetchurl needs curl.
bzip2 -d < $curl > $out/bin/curl

View file

@ -41,7 +41,13 @@ mv $out/lib/libpthread.so.tmp $out/lib/libpthread.so
# Provide some additional symlinks.
ln -s bash $out/bin/sh
ln -s bzip2 $out/bin/bunzip2
ln -s gzip $out/bin/gunzip
# Mimic the gunzip script as in gzip installations
cat > $out/bin/gunzip <<EOF
#!$out/bin/sh
exec $out/bin/gzip -d "\$@"
EOF
chmod +x $out/bin/gunzip
# fetchurl needs curl.
bzip2 -d < $curl > $out/bin/curl