From f41dd1834fa8fff44cd8d9e0d2ef73bcd729544f Mon Sep 17 00:00:00 2001 From: Dustin Rodrigues Date: Wed, 23 Sep 2020 21:07:56 -0400 Subject: [PATCH] bottle: new formula license may be a list, not just a string --- Library/Homebrew/dev-cmd/bottle.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index 9574a1ba91..fb282e5f80 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -535,6 +535,7 @@ module Homebrew (\n^\ {3}[\S\ ]+$)* # options can be in multiple lines )?| (homepage|desc|sha256|version|mirror|license)\ ['"][\S\ ]+['"]| # specs with a string + (license)\ [^\[]+?\[[^\]]+?\]| # license may contain a list (revision|version_scheme)\ \d+| # revision with a number (stable|livecheck)\ do(\n+^\ {4}[\S\ ]+$)*\n+^\ {2}end # components with blocks )\n+ # multiple empty lines