Browse Source

Fix mfpub syntax highlighting

Scott Lahteine 5 years ago
parent
commit
afdd4803f8
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      buildroot/share/git/mfpub

+ 4
- 4
buildroot/share/git/mfpub View File

24
   exit
24
   exit
25
 fi
25
 fi
26
 
26
 
27
-# Check out the named branch (or stay in current)
28
-git checkout $BRANCH
29
-
30
 if [[ $BRANCH == "gh-pages" ]]; then
27
 if [[ $BRANCH == "gh-pages" ]]; then
31
   echo "Can't build from 'gh-pages.' Only the Jekyll branches (based on 'master')."
28
   echo "Can't build from 'gh-pages.' Only the Jekyll branches (based on 'master')."
32
   exit
29
   exit
33
 fi
30
 fi
34
 
31
 
32
+# Check out the named branch (or stay in current)
33
+git checkout $BRANCH
34
+
35
 echo "Stashing any changes to files..."
35
 echo "Stashing any changes to files..."
36
 echo "Don't forget to update and push 'master'!"
36
 echo "Don't forget to update and push 'master'!"
37
 # GOJF Card
37
 # GOJF Card
69
 
69
 
70
 else
70
 else
71
 
71
 
72
-  if [ -z "$(git branch -vv | grep ^\* | grep \\[origin)" ]; then
72
+  if [ -z "$(git branch -vv | grep ^\* | grep \\\[origin)" ]; then
73
     firstpush
73
     firstpush
74
   else
74
   else
75
     echo
75
     echo

Loading…
Cancel
Save