Created
August 17, 2013 02:07
-
-
Save kaosf/6254905 to your computer and use it in GitHub Desktop.
check whether the heroku app with specified name can be created or not; http://qiita.com/ka_/items/e0aeb4741d3862013336
This file contains hidden or 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
#! /bin/sh | |
[ 1 = $(curl $1.herokuapp.com 2> /dev/null | grep "<h1><strong>Heroku | No such app</strong></h1>" | wc -l) ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment