diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index e0eba14cb8..6e0a857e08 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -97,7 +97,7 @@ class Keg < Pathname when /^ocaml/ then :mkpath when /^perl5/ then :mkpath when 'php' then :mkpath - when /^python[23]\.\d$/ then :mkpath + when /^python[23]\.\d/ then :mkpath when 'ruby' then :mkpath # Everything else is symlinked to the cellar else :link