Scott Lahteine 4 gadus atpakaļ
vecāks
revīzija
df22b96d72
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1
    3
      buildroot/share/git/mfpr

+ 1
- 3
buildroot/share/git/mfpr Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt