diff options
Diffstat (limited to 'pkgs/stdenv/linux/new-scripts/unpack-curl.sh')
-rw-r--r-- | pkgs/stdenv/linux/new-scripts/unpack-curl.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/new-scripts/unpack-curl.sh b/pkgs/stdenv/linux/new-scripts/unpack-curl.sh new file mode 100644 index 0000000000000..147edcebe04a1 --- /dev/null +++ b/pkgs/stdenv/linux/new-scripts/unpack-curl.sh @@ -0,0 +1,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 |