nixpkgs/pkgs/stdenv/linux/scripts/unpack-curl.sh
Eelco Dolstra 821b647832 * Rename.
svn path=/nixpkgs/trunk/; revision=6829
2006-10-24 20:57:51 +00:00

12 lines
215 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
$bunzip2 -d curl.bz2
$cp curl $out/bin