Fix version misdetection from fa582cb9ac65
This commit is contained in:
parent
fdaea3189d
commit
5369199df3
@ -276,7 +276,7 @@ class Version
|
|||||||
return m.captures.first unless m.nil?
|
return m.captures.first unless m.nil?
|
||||||
|
|
||||||
# e.g. http://www.openssl.org/source/openssl-0.9.8s.tar.gz
|
# e.g. http://www.openssl.org/source/openssl-0.9.8s.tar.gz
|
||||||
m = /-([^-]+)/.match(stem)
|
m = /-v?([^-]+)/.match(stem)
|
||||||
return m.captures.first unless m.nil?
|
return m.captures.first unless m.nil?
|
||||||
|
|
||||||
# e.g. astyle_1.23_macosx.tar.gz
|
# e.g. astyle_1.23_macosx.tar.gz
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user