Skip to content

Commit

Permalink
dl-linux-tarball.bash: drop wget's "--no-progress" flag
Browse files Browse the repository at this point in the history
Looks like wget does not support it anymore
$ wget --version
GNU Wget2 2.1.0 - multithreaded metalink/file/website downloader

$ ./benchmark.bash
Testing gocryptfs   at /tmp/benchmark.bash.bmt: gocryptfs v2.4.0-38-g40abf96-dirty; go-fuse v2.5.0; 2024-09-03 go1.21.4 linux/amd64
/tmp/benchmark.bash.bmt.mnt is a mountpoint
Downloading linux-3.0.tar.gz
Unknown option 'show-progress'
  • Loading branch information
rfjakob committed Sep 19, 2024
1 parent 2c01b1a commit 2ccea57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dl-linux-tarball.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
if [[ $SIZE_ACTUAL -ne $SIZE_WANT ]]; then
echo "Downloading linux-3.0.tar.gz"
if command -v wget > /dev/null ; then
wget -nv --show-progress -c -O "$TGZ" "$URL"
wget -nv -c -O "$TGZ" "$URL"
else
curl -o "$TGZ" "$URL"
fi
Expand Down

0 comments on commit 2ccea57

Please sign in to comment.