summary refs log tree commit diff
path: root/pkgs/stdenv/linux/scripts/unpack-curl.sh
blob: 3023f865c946b5e526166f7e77fa8f13c3b64500 (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
$bzip2 -d curl.bz2
$cp curl $out/bin