Skip to content

Commit 07025f4

Browse files
committed
scripts: Fix using deprecated/removed wget option
Recent wget versions don't have the --show-progress option anymore and will generate a "wget: unrecognized option '--show-progress'" error (this happens e.g. with latest Fedora). The correct option to use seems to be --progress=bar, which should do the same thing. Signed-off-by: Johan Hedberg <[email protected]>
1 parent 66e5f92 commit 07025f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/template_setup_posix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ for toolchain in ${inst_toolchains[@]}; do
215215
echo "Installing '${toolchain}' toolchain ..."
216216

217217
# Download toolchain archive
218-
wget -q --show-progress -N -O "${toolchain_filename}" "${toolchain_uri}"
218+
wget -q --progress=bar -N -O "${toolchain_filename}" "${toolchain_uri}"
219219
if [ $? != 0 ]; then
220220
rm -f "${toolchain_filename}"
221221
echo "ERROR: Toolchain download failed"

scripts/template_setup_win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ for %%t in (%INST_TOOLCHAINS%) do (
143143
echo Installing '%%t' toolchain ...
144144

145145
REM # Download toolchain archive
146-
wget -q --show-progress -N -O !TOOLCHAIN_FILENAME! !TOOLCHAIN_URI!
146+
wget -q --progress=bar -N -O !TOOLCHAIN_FILENAME! !TOOLCHAIN_URI!
147147
if [!ERRORLEVEL!] neq [0] (
148148
del /q !TOOLCHAIN_FILENAME!
149149
echo ERROR: Toolchain download failed

0 commit comments

Comments
 (0)