diff options
| author | Adam Vandenberg | 2009-09-30 13:42:42 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2009-10-01 10:23:02 -0700 |
| commit | f258b84cc138ff5656a66bc9ef96b2fee4bb29eb (patch) | |
| tree | 51563c8aa34572522e3e94d62d209579ed2813b8 | |
| parent | 87574063890daffeeb97b4ed1ecf1e7f3e375950 (diff) | |
| download | homebrew-f258b84cc138ff5656a66bc9ef96b2fee4bb29eb.tar.bz2 | |
Add -sources to the version recognizer.
| -rw-r--r-- | Library/Homebrew/pathname+yeast.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index 1dbb99d8c..4385ddf8c 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -142,7 +142,7 @@ class Pathname return $1 if $1 # eg foobar-4.5.0-bin - /-((\d+\.)+\d+[abc]?)-(bin|src)$/.match stem + /-((\d+\.)+\d+[abc]?)-(bin|src|sources)$/.match stem return $1 if $1 # eg. otp_src_R13B (this is erlang's style) |
