Permalink
Browse files

Fix if/not if

  • Loading branch information...
1 parent fc39ebd commit 9a5e199dbc181849538ca8e673ee0a79e083d849 @jamiew committed Feb 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 push
View
2 push
@@ -32,7 +32,7 @@ echo $push
# Parse output into sexy GitHub compare URL!
remote_url=$(git remote show $remote -n | grep Push | awk '{ print $3 }')
-if [[ ! "$remote_url" =~ "github.com" ]]; then
+if [[ "$remote_url" =~ "github.com" ]]; then
repo_name=$(echo $remote_url | sed 's/.*\:\(.*\)\.git/\1/')
refs=$(echo $push | awk '{ print $3}' | sed 's/\.\./\.\.\./')

0 comments on commit 9a5e199

Please sign in to comment.