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:
parent
5c0bb27a86
commit
641101c7fd
2 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue