From f258b84cc138ff5656a66bc9ef96b2fee4bb29eb Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 30 Sep 2009 13:42:42 -0700 Subject: Add -sources to the version recognizer. --- Library/Homebrew/pathname+yeast.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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) -- cgit v1.2.3