-
Notifications
You must be signed in to change notification settings - Fork 120
Java7 downloads 7u9 instead of 7u10 #74
Comments
On a closer look the problem is in the line TAG= and now we don't want the last, but the first. quick fix is to use head in stead of tail, but it will break when v7.11 comes out... |
isnt there a way to rename them? v7.10-1 |
|
I'm not sure if it's ideal, but you can change line 421 from: |
I'd suggest |
In fact, I guess |
I've not checked to see if this option is widely supported, but sort has a -V option which causes it to treat it's input as a list of Version numbers: ( http://linux.die.net/man/1/sort ) TAG=git tag -l | sort -V | tail -n1 seems to fix the issue for me |
I have opened a pull-request for the solution I propose above. |
What is the reason to checkout the specific tag anyway? With the git clone a couple of lines earlier we already get the latest and that should be all we need, right? |
from what I can tell, checking out a specific tag is intended to allow the script to be tailored to a specific JDK release. oracle is notorious for making their site VERY hard to scrape -- be it just crappy code or through actual intent. checking out the latest tag as a basis for the script to do it's work, allows for the maintainer to commit into master without breaking proven/existing functionality -- ideally the latest tag version will continue to work, regardless of the status of master. |
Seems like http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase7-521261.html doesn't have the updated java-7u10 listed and therefore gets the uld 7u9 instead. http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html list the correct one
The text was updated successfully, but these errors were encountered: