aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMike McQuaid2012-04-24 18:10:09 +1000
committerMike McQuaid2012-04-24 18:10:09 +1000
commit2919ffb8e2ad29c1fbf823e634fc4f2fd9093e33 (patch)
treec624af861558c502e994d299f542cbf19911fce3 /Library/Homebrew/extend
parentd60023c466e3c782a69550aaf7ca7d35a1d24fe2 (diff)
downloadhomebrew-2919ffb8e2ad29c1fbf823e634fc4f2fd9093e33.tar.bz2
Revert "Add and correctly find erlang bottle."
This reverts commit 146e253856eb3e27b6b7382734fd178c160c1beb.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/pathname.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 82202ce5a..454afb074 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -214,10 +214,8 @@ class Pathname
return $1 if $1
# eg. foobar4.5.1
- unless /^erlang-/.match basename
- /((\d+\.)*\d+)$/.match stem
- return $1 if $1
- end
+ /((\d+\.)*\d+)$/.match stem
+ return $1 if $1
# eg foobar-4.5.0-bin
/-((\d+\.)+\d+[abc]?)[-._](bin|dist|stable|src|sources?)$/.match stem