|
@@ -23,9 +23,7 @@ OLDBRANCH=${INFO[5]}
|
23
|
23
|
# See if it's been pushed yet
|
24
|
24
|
if [ -z "$(git branch -vv | grep ^\* | grep \\[origin)" ]; then firstpush; fi
|
25
|
25
|
|
26
|
|
-which xdg-open >/dev/null && TOOL=xdg-open
|
27
|
|
-which gnome-open >/dev/null && TOOL=gnome-open
|
28
|
|
-which open >/dev/null && TOOL=open
|
|
26
|
+OPEN=$(echo $(which gnome-open xdg-open open) | awk '{ print $1 }')
|
29
|
27
|
URL="https://github.com/$ORG/$REPO/compare/$TARG...$FORK:$BRANCH?expand=1"
|
30
|
28
|
|
31
|
29
|
if [ -z "$OPEN" ]; then
|