Skip to content

Commit

Permalink
Update install-linux.sh
Browse files Browse the repository at this point in the history
Fix CMake link
  • Loading branch information
h4tr3d authored Aug 1, 2023
1 parent b50d103 commit c0026e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci/travis/install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ build_cmake()
local CMAKE_VERSION_MINOR=0
local CMAKE_VERSION_FULL=${CMAKE_VERSION_BASE}.${CMAKE_VERSION_MINOR}
local CMAKE_ARCH=x86_64
local CMAKE_OS=linux

#wget -c http://www.cmake.org/files/v${CMAKE_VERSION_BASE}/cmake-${CMAKE_VERSION_FULL}.tar.gz
#tar -xzf cmake-${CMAKE_VERSION_FULL}.tar.gz
Expand All @@ -24,9 +25,9 @@ build_cmake()
#make
#sudo make install

wget -c https://cmake.org/files/v${CMAKE_VERSION_BASE}/cmake-${CMAKE_VERSION_FULL}-Linux-${CMAKE_ARCH}.tar.gz
tar -xzf cmake-${CMAKE_VERSION_FULL}-Linux-${CMAKE_ARCH}.tar.gz
export PATH=$(pwd)/cmake-${CMAKE_VERSION_FULL}-Linux-${CMAKE_ARCH}/bin:$PATH
wget -c https://cmake.org/files/v${CMAKE_VERSION_BASE}/cmake-${CMAKE_VERSION_FULL}-${CMAKE_OS}-${CMAKE_ARCH}.tar.gz
tar -xzf cmake-${CMAKE_VERSION_FULL}-${CMAKE_OS}-${CMAKE_ARCH}.tar.gz
export PATH=$(pwd)/cmake-${CMAKE_VERSION_FULL}-${CMAKE_OS}-${CMAKE_ARCH}/bin:$PATH
cmake --version
}

Expand Down

0 comments on commit c0026e5

Please sign in to comment.