1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
set -e echo "using curl executable $curl" $curl/bin/curl "$url" > .tmp $gunzip -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