Created
May 29, 2012 20:05
-
-
Save paydro/2830390 to your computer and use it in GitHub Desktop.
Script to wait on something to happen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while : | |
do | |
building=`bulldozer images:list | grep postprocessor-2012-05-29 | grep available | wc -l` | |
if [ $building -eq 1 ] | |
then | |
say "post processor image finished building" | |
break | |
fi | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment