Browse Source

Update mfpr

Scott Lahteine 4 years ago
parent
commit
df22b96d72
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      buildroot/share/git/mfpr

+ 1
- 3
buildroot/share/git/mfpr View File

@@ -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

Loading…
Cancel
Save