Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63a281cc authored by Bob Badour's avatar Bob Badour
Browse files

Do not append .meta_lic to meta_lic

Test: manual
Change-Id: I8d7162dc55f057d542faaa7feb546050d3a872e7
parent 8beddf2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ func ReadLicenseGraph(rootFS fs.FS, stderr io.Writer, files []string) (*LicenseG

	lg := newLicenseGraph()
	for _, f := range files {
		if strings.HasSuffix(f, ".meta_lic") {
		if strings.HasSuffix(f, "meta_lic") {
			lg.rootFiles = append(lg.rootFiles, f)
		} else {
			lg.rootFiles = append(lg.rootFiles, f+".meta_lic")