From e7f0e8eafb55ba4a031800c451a59d9d1f804726 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Thu, 16 Sep 2021 00:16:35 +0800 Subject: [PATCH] use wget --- cmakew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmakew b/cmakew index 4c39de9..309ab2a 100755 --- a/cmakew +++ b/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"