diff options
| author | Adam Vandenberg | 2011-06-16 06:47:13 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-16 06:47:13 -0700 |
| commit | b643d105eb7938aaf37b733dcd93a98847ab72ad (patch) | |
| tree | d686dd216ed7b4a05b6bba9b3bec59900fb5ee28 /Library | |
| parent | 0523f66bec11345fc31cc678a9bdc80607fdf3f9 (diff) | |
| download | brew-b643d105eb7938aaf37b733dcd93a98847ab72ad.tar.bz2 | |
Allow underscore with these suffixes for version detection
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 8398bb17d..54435aa37 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -157,7 +157,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|stable|src|sources?)$/.match stem return $1 if $1 # Debian style eg dash_0.5.5.1.orig.tar.gz |
