We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711dea9 commit 8c348ecCopy full SHA for 8c348ec
scripts/download_zlib.sh
@@ -3,8 +3,8 @@
3
# If any commands fail, fail the script immediately.
4
set -ex
5
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
+wget https://zlib.net/zlib.tar.gz -O /tmp/src.tar.gz
+tar -xvf /tmp/src.tar.gz --directory /tmp
8
9
-# Copy the directory into the correct place
10
-mv -v /tmp/zlib-1.2.12 $1
+# Move the directory into the correct place
+mv -v /tmp/zlib-* "$1"
0 commit comments