Skip to content

Commit

Permalink
Accept pre-2007 formulation of ISC license
Browse files Browse the repository at this point in the history
  • Loading branch information
carlpett committed Mar 22, 2018
1 parent 3878fc8 commit 1437c39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions license.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ func (l *License) GuessType() error {
case scan(comp, "permission to use, copy, modify, and/or distribute this "+
"software for any"):
l.Type = LicenseISC
// When originally released the license did not include the term "and/or", this was added by ISC in 2007
case scan(comp, "permission to use, copy, modify, and distribute this "+
"software for any"):
l.Type = LicenseISC

case scan(comp, "apache license version 2.0, january 2004") ||
scan(comp, "http://www.apache.org/licenses/license-2.0"):
Expand Down

0 comments on commit 1437c39

Please sign in to comment.