Bug 2137: Improve license check 49/12449/2
authorMark Beierl <mark.beierl@canonical.com>
Fri, 12 Aug 2022 01:59:11 +0000 (21:59 -0400)
committerbeierlm <mark.beierl@canonical.com>
Fri, 12 Aug 2022 13:59:44 +0000 (15:59 +0200)
commit02467edd88623ef5345402566319867f5fbef84a
treed532f7737d6267abfccf618691fbf0aadacb8f45
parentda8ffbc7b1821ad32db2c79c586efc755ca5782b
Bug 2137: Improve license check

Rather than relying on a case sensitive extension (.jpg, etc)
this change introduces the use of file mime-type to better
determine if a file requires a license or not.

Change-Id: I24492c584c0d124c47d542cb8f8019ae56642682
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
tools/license_scan.sh