diff options
| author | Adam Vandenberg | 2009-12-12 17:40:15 -0800 |
|---|---|---|
| committer | Max Howell | 2009-12-17 19:19:33 +0000 |
| commit | a3f448a3e212eff4622245e98be8f523eb837c58 (patch) | |
| tree | fb203a961b363451c2d4b48bd7546d8ddfce5e9e /Library/Homebrew/extend | |
| parent | 1deb3a1fea1d855770bdc075347d49c6330e7b42 (diff) | |
| download | brew-a3f448a3e212eff4622245e98be8f523eb837c58.tar.bz2 | |
Also match -source tarballs.
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 bfbba61bf..d1a0f8d5b 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -142,7 +142,7 @@ class Pathname return $1 if $1 # eg foobar-4.5.0-bin - /-((\d+\.)+\d+[abc]?)[-.](bin|src|sources)$/.match stem + /-((\d+\.)+\d+[abc]?)[-.](bin|src|sources?)$/.match stem return $1 if $1 # eg. otp_src_R13B (this is erlang's style) |
