Bump to head and M851XY Tweaks

This commit is contained in:
InsanityAutomation
2019-10-06 16:43:38 -04:00
parent 38ce8b9772
commit cf4766a2b2
494 changed files with 14976 additions and 7429 deletions
+5 -3
View File
@@ -16,13 +16,15 @@ BRANCH=${INFO[5]}
git push --set-upstream origin $BRANCH
TOOL=$(which gnome-open xdg-open open | awk '{ print $1 }')
which xdg-open >/dev/null && TOOL=xdg-open
which gnome-open >/dev/null && TOOL=gnome-open
which open >/dev/null && TOOL=open
URL="https://github.com/$FORK/$REPO/commits/$BRANCH"
if [ -z "$TOOL" ]; then
if [ -z "$OPEN" ]; then
echo "Can't find a tool to open the URL:"
echo $URL
else
echo "Viewing commits on $BRANCH..."
"$TOOL" "$URL"
"$OPEN" "$URL"
fi