File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,17 +80,17 @@ if [[ $MKL_DISTRO != osx ]]; then
80
80
local name=$1
81
81
local destdir=$2
82
82
local ver=1.0.2u
83
+ local url=https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz
83
84
84
85
local conf_args=" --openssldir=/usr/lib/ssl no-shared no-zlib"
85
86
if [[ $ver == 1.0.* ]]; then
86
87
extra_conf_args=" ${extra_conf_args} no-krb5"
87
88
fi
88
89
89
- echo " ### Installing $name $ver from source to $destdir "
90
+ echo " ### Installing $name $ver from source ( $url ) to $destdir "
90
91
if [[ ! -f config ]]; then
91
92
echo " ### Downloading"
92
- curl -sL https://www.openssl.org/source/openssl-${ver} .tar.gz | \
93
- tar xzf - --strip-components 1
93
+ curl -fL $url | tar xzf - --strip-components 1
94
94
fi
95
95
96
96
echo " ### Configuring"
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function install_source {
43
43
44
44
echo " ### Installing $name $ver from source to $destdir "
45
45
if [[ ! -f Makefile ]]; then
46
- curl -sL https://github.com/facebook/zstd/releases/download/v${ver} /zstd-${ver} .tar.gz | \
46
+ curl -fL https://github.com/facebook/zstd/releases/download/v${ver} /zstd-${ver} .tar.gz | \
47
47
tar xzf - --strip-components 1
48
48
fi
49
49
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function install_source {
38
38
39
39
echo " ### Installing $name $ver from source to $destdir "
40
40
if [[ ! -f Makefile ]]; then
41
- curl -sL https://zlib.net/zlib-${ver} .tar.gz | \
41
+ curl -fL https://zlib.net/zlib-${ver} .tar.gz | \
42
42
tar xzf - --strip-components 1
43
43
fi
44
44
You can’t perform that action at this time.
0 commit comments