Skip to content

Commit b9322bf

Browse files
committed
missing mkdir for the cmake install dir
1 parent be1ca6f commit b9322bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci_build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ CPPZMQ=${PWD}/cppzmq-build
1313
JOBS=2
1414

1515
cmake_install() {
16+
local CMAKE_INSTALL_DIR=/tmp/cmake.root
17+
mkdir -p $CMAKE_INSTALL_DIR
1618
wget -qO- "https://cmake.org/files/v3.20/cmake-3.20.5-linux-x86_64.tar.gz" \
17-
| tar --strip-components=1 -xz -C /tmp/cmake.root
18-
export PATH=/tmp/cmake.root/bin:$PATH
19+
| tar --strip-components=1 -xz -C $CMAKE_INSTALL_DIR
20+
export PATH=$CMAKE_INSTALL_DIR/bin:$PATH
1921
cmake --version
2022
}
2123

0 commit comments

Comments
 (0)