aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-11 15:33:30 -0800
committerAdam Vandenberg2012-02-11 15:33:30 -0800
commit82618a4845e3ad1e5653d84c5ed8bfa592d395fd (patch)
tree2be7676c15c29b9a80c31e09991067bb0c2aff49 /Library
parent52e2087cefa57fa70f0cd282844bb396653b4a52 (diff)
downloadhomebrew-82618a4845e3ad1e5653d84c5ed8bfa592d395fd.tar.bz2
Recognize dist suffix
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index cc1006c0a..2661ab5a3 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -163,7 +163,7 @@ class Pathname
return $1 if $1
# eg foobar-4.5.0-bin
- /-((\d+\.)+\d+[abc]?)[-._](bin|stable|src|sources?)$/.match stem
+ /-((\d+\.)+\d+[abc]?)[-._](bin|dist|stable|src|sources?)$/.match stem
return $1 if $1
# Debian style eg dash_0.5.5.1.orig.tar.gz