This commit is contained in:
Kevin Yue 2021-09-16 00:16:35 +08:00
parent 387c222a28
commit e7f0e8eafb

2
cmakew
View File

@ -47,7 +47,7 @@ if [ ! -f "$cmake_bin" ]; then
fi
echo $download_link
curl "$download_link" -Lo "/tmp/cmake-$cmake_version.tar.gz"
wget -nv --show-progress "$download_link" -O "/tmp/cmake-$cmake_version.tar.gz"
mkdir -p "${cmake_base}/cmake-$cmake_version"
tar -xzf "/tmp/cmake-$cmake_version.tar.gz" -C "${cmake_base}/cmake-$cmake_version" --strip-components=1
rm "/tmp/cmake-$cmake_version.tar.gz"