Fix call to scan_for_licenses()

The last argument (package name) was missing from the call.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2020-08-17 23:13:13 -07:00
parent 82dc7aecd1
commit b110b315e2
+1 -1
View File
@@ -256,7 +256,7 @@ def package(args, url, name, archives, workingdir, infile_dict):
except Exception:
pass
# Start one directory higher so we scan *all* versions for licenses
license.scan_for_licenses(os.path.dirname(_dir), conf)
license.scan_for_licenses(os.path.dirname(_dir), conf, name)
exit(0)
requirements.scan_for_configure(_dir, content.name, conf)