Skip to content

Instantly share code, notes, and snippets.

@jsjohnst
Created March 17, 2009 19:23
Show Gist options
  • Save jsjohnst/80726 to your computer and use it in GitHub Desktop.
Save jsjohnst/80726 to your computer and use it in GitHub Desktop.
#!/bin/bash
while true; do
result=`curl -Is http://developer.apple.com/iphone/ | grep Location | grep comebacksoon`;
if [ x = "x$result" ]; then
echo "Yeah!";
exit;
fi;
sleep 30;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment