Update mfpr

This commit is contained in:
Scott Lahteine 2020-04-23 21:53:28 -05:00
parent 07252ad0b3
commit df22b96d72

View File

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