diff options
| author | Buck Evan | 2015-02-23 11:59:16 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-23 21:32:02 +0000 |
| commit | 9b341f8d858bf7b3131c9f73c8de146c60be7858 (patch) | |
| tree | 917bc3635ba1422d87bd87a1058a83810fd29b0a /Library/Formula/python3.rb | |
| parent | 6f7622fbbd7d097519112f5499d81e47116a3f20 (diff) | |
| download | homebrew-9b341f8d858bf7b3131c9f73c8de146c60be7858.tar.bz2 | |
python3: set x.y version correctly for HEAD.
Closes #37118.
Closes #37123.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/python3.rb')
| -rw-r--r-- | Library/Formula/python3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 83e0fef82..067bed293 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -193,7 +193,7 @@ class Python3 < Formula end def xy - version.to_s.slice /(3.\d)/ + version.to_s.slice(/(3.\d)/) || "3.5" end def distutils_fix_superenv(args) |
