diff options
| author | Adam Vandenberg | 2009-10-04 10:35:57 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2009-10-08 17:21:55 -0700 |
| commit | 82bbe5e074feb587ca85e8bb221f0815cf400e86 (patch) | |
| tree | 3e9a6e35214e45164ffddbaf02338851694b048d /Library/Homebrew | |
| parent | 25b57a4f973faf615ee492339cca751ea8da6c1c (diff) | |
| download | brew-82bbe5e074feb587ca85e8bb221f0815cf400e86.tar.bz2 | |
Tweak version regex.
Enable tarballs named like "fceux-2.1.1.src.tar.bz2"
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/pathname+yeast.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index 4385ddf8c..bfbba61bf 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -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) |
