2004-11-04 13:20:54 +01:00
|
|
|
set -e
|
|
|
|
|
2005-02-21 17:03:34 +01:00
|
|
|
echo "using curl executable $curl"
|
2004-11-04 13:20:54 +01:00
|
|
|
|
|
|
|
$curl/bin/curl "$url" > .tmp
|
|
|
|
|
2005-02-22 08:59:15 +01:00
|
|
|
$bunzip2 -d < .tmp | $tar xvf -
|
2004-11-04 13:20:54 +01:00
|
|
|
|
2005-02-21 17:03:34 +01:00
|
|
|
$cp -prd * $out
|
2004-11-04 13:20:54 +01:00
|
|
|
|
2005-02-21 17:03:34 +01:00
|
|
|
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
|