Also match -source tarballs.

This commit is contained in:
Adam Vandenberg authored and Max Howell committed 2009-12-17 19:19:33 +00:00
1 parent fa52de9bba
commit 4dcd83e6fe
1 file changed
+1 -1
+1 -1
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)