File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,16 @@ INDEX_21="${TEMP_DIR}/index-21.html"
3838INDEX_22=" ${TEMP_DIR} /index-22.html"
3939INDEX_23=" ${TEMP_DIR} /index-23.html"
4040INDEX_24=" ${TEMP_DIR} /index-24.html"
41+ INDEX_25=" ${TEMP_DIR} /index-25.html"
4142
4243download_file ' http://jdk.java.net/archive/' " ${INDEX_ARCHIVE} "
4344download_file ' http://jdk.java.net/21/' " ${INDEX_21} "
4445download_file ' http://jdk.java.net/22/' " ${INDEX_22} "
4546download_file ' http://jdk.java.net/23/' " ${INDEX_23} "
4647download_file ' http://jdk.java.net/24/' " ${INDEX_24} "
48+ download_file ' http://jdk.java.net/25/' " ${INDEX_25} "
4749
48- URLS=$( grep -h -o -E ' href="https://download.java.net/java/.*/[^/]*\.(tar\.gz|zip)"' " ${INDEX_ARCHIVE} " " ${INDEX_21} " " ${INDEX_22} " " ${INDEX_23} " " ${INDEX_24} " | perl -pe ' s/href="(.+)"/$1/g' | sort -V)
50+ 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)
4951for URL in ${URLS}
5052do
5153 FILE=" $( perl -pe ' s/https.*\/([^\/]+)/$1/g' <<< " ${URL}" ) "
You can’t perform that action at this time.
0 commit comments