Fix version misdetection from fa582cb9ac65

This commit is contained in:
Jack Nagel 2013-06-11 17:34:08 -05:00
parent fdaea3189d
commit 5369199df3

View File

@ -276,7 +276,7 @@ class Version
return m.captures.first unless m.nil?
# 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?
# e.g. astyle_1.23_macosx.tar.gz