Add -sources to the version recognizer.

This commit is contained in:
Adam Vandenberg 2009-09-30 13:42:42 -07:00
parent 3c3902954b
commit da565308ad

View File

@ -142,7 +142,7 @@ class Pathname
return $1 if $1 return $1 if $1
# eg foobar-4.5.0-bin # 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 return $1 if $1
# eg. otp_src_R13B (this is erlang's style) # eg. otp_src_R13B (this is erlang's style)