hesa / foss-licenses

License meta information
6 stars 1 forks source link

Complex license expression produces incorrect compat #35

Closed hesa closed 1 year ago

hesa commented 1 year ago

The following command's output is incorrect:

$ flame compat "x11-keith-packard and Apache Software License, Ve rsion 2.0 | mit"
(LicenseRef-flame-x11-keith-packard AND Apache-2.0) OR MIT

should be:

$ flame compat "x11-keith-packard and Apache Software License, Ve rsion 2.0 | mit"
(HPND AND Apache-2.0) OR MIT