mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
use wget
This commit is contained in:
parent
387c222a28
commit
e7f0e8eafb
2
cmakew
2
cmakew
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user