Skip to content

Commit 8c348ec

Browse files
authored
download_zlib: pick latest version automatically (#62)
Also switch to the canonical domain name.
1 parent 711dea9 commit 8c348ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/download_zlib.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# If any commands fail, fail the script immediately.
44
set -ex
55

6-
wget https://www.zlib.net/zlib-1.2.12.tar.gz -O /tmp/zlib-1.2.12.tar.gz
7-
tar -xvf /tmp/zlib-1.2.12.tar.gz --directory /tmp
6+
wget https://zlib.net/zlib.tar.gz -O /tmp/src.tar.gz
7+
tar -xvf /tmp/src.tar.gz --directory /tmp
88

9-
# Copy the directory into the correct place
10-
mv -v /tmp/zlib-1.2.12 $1
9+
# Move the directory into the correct place
10+
mv -v /tmp/zlib-* "$1"

0 commit comments

Comments
 (0)