mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
Add -sources to the version recognizer.
This commit is contained in:
1 parent
8757406389
commit
f258b84cc1
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)$/.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