Fix EWS GCE build scripts to detect which zone is available
[WebKit-https.git] / Tools / EWSTools / GoogleComputeEngine / findzone.sh
1 if [[ $# -ne 1 ]]; then
2     echo "Usage: findzone.sh PROJECT"
3 fi
4
5 echo $(gcutil --project=$1 listzones | grep UP | awk '{print $2}' | sort | tail -1)