@@ -137,7 +137,7 @@ if [ ! -d "$(eval echo "\$$BOOT_JDK_VARIABLE")" ]; then
137
137
# make-adopt-build-farm.sh has 'set -e'. We need to disable that for
138
138
# the fallback mechanism, as downloading of the GA binary might fail.
139
139
set +e
140
- wget -q -O - " ${apiURL} " | tar xpzf - --strip-components=1 -C " $bootDir "
140
+ curl -L " ${apiURL} " | tar xpzf - --strip-components=1 -C " $bootDir "
141
141
retVal=$?
142
142
set -e
143
143
if [ $retVal -ne 0 ]; then
@@ -151,7 +151,7 @@ if [ ! -d "$(eval echo "\$$BOOT_JDK_VARIABLE")" ]; then
151
151
apiURL=$( eval echo ${apiUrlTemplate} )
152
152
echo " Attempting to download EA release of boot JDK version ${JDK_BOOT_VERSION} from ${apiURL} "
153
153
set +e
154
- wget -q -O - " ${apiURL} " | tar xpzf - --strip-components=1 -C " $bootDir "
154
+ curl -L " ${apiURL} " | tar xpzf - --strip-components=1 -C " $bootDir "
155
155
retVal=$?
156
156
set -e
157
157
if [ $retVal -ne 0 ]; then
@@ -163,7 +163,7 @@ if [ ! -d "$(eval echo "\$$BOOT_JDK_VARIABLE")" ]; then
163
163
vendor=" adoptopenjdk"
164
164
apiURL=$( eval echo ${apiUrlTemplate} )
165
165
echo " Attempting to download GA release of boot JDK version ${JDK_BOOT_VERSION} from ${apiURL} "
166
- wget -q -O - " ${apiURL} " | tar xpzf - --strip-components=1 -C " $bootDir "
166
+ curl -L " ${apiURL} " | tar xpzf - --strip-components=1 -C " $bootDir "
167
167
fi
168
168
fi
169
169
fi
@@ -222,7 +222,7 @@ if [ "${ARCHITECTURE}" == "riscv64" ] && [ "${NATIVE_API_ARCH}" != "riscv64" ];
222
222
rm -rf " $BUILDJDK "
223
223
mkdir " $BUILDJDK "
224
224
# TOFIX: Switch this back once Semeru has an API to pull the nightly builds.
225
- wget -q -O - " https://api.adoptopenjdk.net/v3/binary/latest/${JAVA_FEATURE_VERSION} /ga/linux/${NATIVE_API_ARCH} /jdk/openj9/normal/adoptopenjdk" | tar xpzf - --strip-components=1 -C " $BUILDJDK "
225
+ curl -L " https://api.adoptopenjdk.net/v3/binary/latest/${JAVA_FEATURE_VERSION} /ga/linux/${NATIVE_API_ARCH} /jdk/openj9/normal/adoptopenjdk" | tar xpzf - --strip-components=1 -C " $BUILDJDK "
226
226
" $BUILDJDK /bin/java" -version 2>&1 | sed ' s/^/CROSSBUILD JDK > /g' || exit 1
227
227
CONFIGURE_ARGS_FOR_ANY_PLATFORM=" ${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-build-jdk=$BUILDJDK --disable-ddr"
228
228
if [ -d /usr/local/openssl102 ]; then
0 commit comments