nixpkgs/pkgs/stdenv/linux/scripts/unpack-curl.sh
Eelco Dolstra f516036cbb * Updated bootstrap binaries except for bash which now somehow
segfaults totally randomly.

svn path=/nixpkgs/branches/stdenv-updates/; revision=9840
2007-12-03 17:56:44 +00:00

12 lines
213 B
Bash

set -x
set -e
# Tricky: need to make $out/bin without mkdir ;-). So use cp to copy
# the current (empty) directory.
$cp -prvd . $out
$cp -prvd . $out/bin
$cp $curl curl.bz2
$bzip2 -d curl.bz2
$cp curl $out/bin