summary refs log tree commit diff
path: root/pkgs/stdenv/linux/scripts/unpack-curl.sh
blob: 147edcebe04a19153ae8f35afd2da2a31d979ad9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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