From afdd4803f8381ffbbe9e9a3632b4fc07eb341fea Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 19 Sep 2018 23:56:35 -0500 Subject: [PATCH] Fix mfpub syntax highlighting --- buildroot/share/git/mfpub | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildroot/share/git/mfpub b/buildroot/share/git/mfpub index 85b890510a..1624053919 100755 --- a/buildroot/share/git/mfpub +++ b/buildroot/share/git/mfpub @@ -24,14 +24,14 @@ if [[ $ORG != "MarlinFirmware" || $REPO != "MarlinDocumentation" ]]; then exit fi -# Check out the named branch (or stay in current) -git checkout $BRANCH - if [[ $BRANCH == "gh-pages" ]]; then echo "Can't build from 'gh-pages.' Only the Jekyll branches (based on 'master')." exit fi +# Check out the named branch (or stay in current) +git checkout $BRANCH + echo "Stashing any changes to files..." echo "Don't forget to update and push 'master'!" # GOJF Card @@ -69,7 +69,7 @@ if [[ $BRANCH == "master" ]]; then else - if [ -z "$(git branch -vv | grep ^\* | grep \\[origin)" ]; then + if [ -z "$(git branch -vv | grep ^\* | grep \\\[origin)" ]; then firstpush else echo