diff options
| author | Adam Vandenberg | 2012-02-11 15:33:30 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-11 15:33:30 -0800 |
| commit | 252605b2ae6ce344e88e946c7de6ef19f7e82121 (patch) | |
| tree | 8ab1dc531035c176a2a3ebd7c8bbef9b8aadf4d1 /Library | |
| parent | cdd52e28f16069259e106719baaf972b2d1b70fa (diff) | |
| download | brew-252605b2ae6ce344e88e946c7de6ef19f7e82121.tar.bz2 | |
Recognize dist suffix
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
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 |
