mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
Also match -source tarballs.
This commit is contained in:
1 parent
fa52de9bba
commit
4dcd83e6fe
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user