Tweak version regex.
Enable tarballs named like "fceux-2.1.1.src.tar.bz2"
This commit is contained in:
parent
25b57a4f97
commit
82bbe5e074
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user