File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ INDEX_23="${TEMP_DIR}/index-23.html"
4040INDEX_24=" ${TEMP_DIR} /index-24.html"
4141INDEX_25=" ${TEMP_DIR} /index-25.html"
4242INDEX_26=" ${TEMP_DIR} /index-26.html"
43+ INDEX_27=" ${TEMP_DIR} /index-27.html"
4344
4445download_file ' http://jdk.java.net/archive/' " ${INDEX_ARCHIVE} "
4546download_file ' http://jdk.java.net/21/' " ${INDEX_21} "
@@ -48,8 +49,9 @@ download_file 'http://jdk.java.net/23/' "${INDEX_23}"
4849download_file ' http://jdk.java.net/24/' " ${INDEX_24} "
4950download_file ' http://jdk.java.net/25/' " ${INDEX_25} "
5051download_file ' http://jdk.java.net/26/' " ${INDEX_26} "
52+ download_file ' http://jdk.java.net/26/' " ${INDEX_27} "
5153
52- URLS=$( grep -h -o -E ' href="https://download.java.net/java/.*/[^/]*\.(tar\.gz|zip)"' " ${INDEX_ARCHIVE} " " ${INDEX_21} " " ${INDEX_22} " " ${INDEX_23} " " ${INDEX_24} " " ${INDEX_25} " | perl -pe ' s/href="(.+)"/$1/g' | sort -V)
54+ URLS=$( grep -h -o -E ' href="https://download.java.net/java/.*/[^/]*\.(tar\.gz|zip)"' " ${INDEX_ARCHIVE} " " ${INDEX_21} " " ${INDEX_22} " " ${INDEX_23} " " ${INDEX_24} " " ${INDEX_25} " " ${INDEX_26} " " ${INDEX_27} " | perl -pe ' s/href="(.+)"/$1/g' | sort -V)
5355for URL in ${URLS}
5456do
5557 FILE=" $( perl -pe ' s/https.*\/([^\/]+)/$1/g' <<< " ${URL}" ) "
You can’t perform that action at this time.
0 commit comments