nixpkgs/pkgs/stdenv/nix-linux-static/scripts/download-script
Armijn Hemel 53577663f5 add (refactored) static stuff
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1679
2004-11-04 12:20:54 +00:00

14 lines
162 B
Plaintext

set -x
set -e
echo $curl
$curl/bin/curl "$url" > .tmp
$gunzip -d < .tmp | $tar xvf -
$cp -prvd * $out
if test -n "$postprocess"; then
source $postprocess
fi