diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/bottle_version.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/bottle_version.rb b/Library/Homebrew/bottle_version.rb index 8cb447229..348d9c971 100644 --- a/Library/Homebrew/bottle_version.rb +++ b/Library/Homebrew/bottle_version.rb @@ -49,6 +49,10 @@ class BottleVersion < Version m = /-(\d{2})/.match(stem) return m.captures.first unless m.nil? + # e.g. p17 from psutils-p17.yosemite.bottle.tar.gz + m = /-(p\d{2})/.match(stem) + return m.captures.first unless m.nil? + super end end |
