#!/bin/bash TARGETS="ipodvideo ipodcolor ipodnano ipod1g2g ipod3g ipod4g ipodmini ipodmini2g" for ipod in $TARGETS do mkdir autobuild-$ipod cd autobuild-$ipod echo $ipod if test "$ipod" = "ipodvideo"; then (echo $ipod ; echo 32 ; echo B) | ../tools/configure else (echo $ipod ; echo B) | ../tools/configure fi make -j 5 VERSION=2.0 if [ -f bootloader-$ipod.ipod ] then cp -p bootloader-$ipod.ipod ../RELEASE/ fi cd .. done