Skip to content

Commit e748f5f

Browse files
committed
wrong variable name
1 parent 439d400 commit e748f5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ matrix:
109109
before_script:
110110
- mkdir -p /tmp/cmake.root
111111
- |
112-
if [ $TRAVIS_OS_SUFFIX = 'linux' ]; then
112+
if [ $TRAVIS_OS_NAME = 'linux' ]; then
113113
CMAKE_PKG_SUFFIX="linux-x86_64"
114114
else
115115
CMAKE_PKG_SUFFIX="macos10.10-universal"
116116
fi
117117
- wget -qO- "https://cmake.org/files/v3.20/cmake-3.20.5-$CMAKE_PKG_SUFFIX.tar.gz" | tar --strip-components=1 -xz -C /tmp/cmake.root
118118
- |
119-
if [ $TRAVIS_OS_SUFFIX = 'linux' ]; then
119+
if [ $TRAVIS_OS_NAME = 'linux' ]; then
120120
CMAKE_BIN_DIR="bin"
121121
else
122122
CMAKE_BIN_DIR="CMake.app/Contents/bin"

0 commit comments

Comments
 (0)