Skip to content

Commit

Permalink
Merge pull request #21 from carlpett/accept-old-isc-form
Browse files Browse the repository at this point in the history
Accept pre-2007 formulation of ISC license
  • Loading branch information
ryanuber authored Apr 5, 2018
2 parents 3878fc8 + 1437c39 commit c69f41c
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 c69f41c

Please sign in to comment.