Also match -source tarballs.

This commit is contained in:
Adam Vandenberg 2009-12-12 17:40:15 -08:00 committed by Max Howell
parent 1deb3a1fea
commit a3f448a3e2

View File

@ -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)