install-scripts/templates/install-cmake.sh.in
2020-10-19 12:48:06 +00:00

5 lines
196 B
Bash

#!/bin/bash
set -eu
wget "https://github.com/Kitware/CMake/releases/download/v@VERSION@/cmake-@VERSION@-Linux-x86_64.sh" -nv -O /tmp/cmake.sh
sh /tmp/cmake.sh --exclude-subdir --prefix=/usr/local