set -e echo "using curl executable $curl" $curl/bin/curl "$url" > .tmp $bunzip2 -d < .tmp | $tar xvf - $cp -prd * $out if test -n "$postProcess"; then for i in $addToPath; do export PATH=$PATH:$i/bin done for i in $postProcess; do source $i done fi