diff options
| author | Adam Vandenberg | 2011-06-16 06:47:13 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-16 06:47:13 -0700 |
| commit | ea81950776ca02754b13123251da06cb6752fdee (patch) | |
| tree | b030749bbba0039fecc4d9d8d18708a5d5c6d666 /Library/Homebrew/extend | |
| parent | 959f6b31acc2b85f00fa326cf5044b8b5ca0d56c (diff) | |
| download | homebrew-ea81950776ca02754b13123251da06cb6752fdee.tar.bz2 | |
Allow underscore with these suffixes for version detection
Diffstat (limited to 'Library/Homebrew/extend')
| -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 |
