2011-11-11 05:58:06 +01:00
#!/bin/bash
exec 2>& 1
2011-12-02 19:37:29 +01:00
ubuntu_versions = ( "ubuntu_lucid_32" "ubuntu_lucid_64" "ubuntu_maverick_32" "ubuntu_maverick_64" "ubuntu_natty_32" "ubuntu_natty_64" "ubuntu_oneiric_32" "ubuntu_oneiric_64" "debian_squeeze_32" "debian_squeeze_64" )
2011-11-11 05:58:06 +01:00
num1 = ${# ubuntu_versions [@] }
mkdir -p ./upgrade_logs2
for i in $( seq 0 $(( $num1 - 1 )) ) ;
do
2011-12-02 19:37:29 +01:00
echo " fab -f fab_liquidsoap_compile.py ${ ubuntu_versions [ $i ] } compile_liquidsoap:filename= ${ ubuntu_versions [ $i ] } shutdown "
fab -f fab_liquidsoap_compile.py ${ ubuntu_versions [ $i ] } compile_liquidsoap:filename= ${ ubuntu_versions [ $i ] } shutdown 2>& 1 #| tee "./upgrade_logs2/${ubuntu_versions[$i]}.log"
2011-11-11 05:58:06 +01:00
done