浏览代码

CI: Fix travis test on OSX

SCG82 6 年之前
父节点
当前提交
839e74f522
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CI/install-dependencies-osx.sh

+ 1 - 1
CI/install-dependencies-osx.sh

@@ -10,7 +10,7 @@ set -e
 # Echo all commands before executing
 # Echo all commands before executing
 set -v
 set -v
 
 
-if [ -v "$TRAVIS" ]; then
+if [[ $TRAVIS ]]; then
   git fetch --unshallow
   git fetch --unshallow
 fi
 fi