aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-11-14 22:58:24 +0000
committerMike McQuaid2013-11-14 22:58:24 +0000
commitc46c3fcb2ea054bb9848e4cf69389c2f14ae362c (patch)
treea7a4be12f4e09361aa8ca926d08cf91c120d17ec /Library
parent6a72fa26aa49ee5c2bd256daca21351510f33616 (diff)
downloadhomebrew-c46c3fcb2ea054bb9848e4cf69389c2f14ae362c.tar.bz2
version: match Jenkins LTS releases.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb
index 4c268639d..0c67fa9da 100644
--- a/Library/Homebrew/version.rb
+++ b/Library/Homebrew/version.rb
@@ -313,7 +313,7 @@ class Version
return m.captures.first unless m.nil?
# e.g. http://mirrors.jenkins-ci.org/war/1.486/jenkins.war
- m = /\/(\d\.\d+)\//.match(spec_s)
+ m = /\/(\d\.\d+(\.\d)?)\//.match(spec_s)
return m.captures.first unless m.nil?
# e.g. http://www.ijg.org/files/jpegsrc.v8d.tar.gz