diff options
-rwxr-xr-x | update_zlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_zlib.sh b/update_zlib.sh index d1193aa..65572a0 100755 --- a/update_zlib.sh +++ b/update_zlib.sh @@ -10,7 +10,7 @@ base_dir=$(realpath $(dirname $0)) # Extract the latest version from the web page. new_version=$(wget -O - --no-verbose -q http://zlib.net/ | \ - grep 'http://zlib.net/zlib-[0-9].*.tar.gz' | \ + grep 'href=\"zlib-[0-9].*.tar.gz' | \ sed 's/.*zlib-\(.*\)\.tar\.gz.*/\1/') tgz_file="zlib-$new_version.tar.gz" |