Explorar o código

fix detecting the master branch

Julius Pfrommer %!s(int64=8) %!d(string=hai) anos
pai
achega
370a4cca37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/travis_linux_script.sh

+ 1 - 1
tools/travis_linux_script.sh

@@ -63,7 +63,7 @@ make
 
 # push updated doc
 BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
-if [[ "$BRANCH" = "master" ]]; then
+if [[ ${BRANCH} == "master" ]]; then
     cd .. && rm build -rf && mkdir -p build && cd build
     cd build
     rm -rf *