diff --git a/lib/licensing.js b/lib/licensing.js index 59b94211f27b..c63ad767fa1e 100644 --- a/lib/licensing.js +++ b/lib/licensing.js @@ -146,14 +146,14 @@ const licensing = { console.log(' - ' + adblockComponents.length + ' sub-components added in adblock/LICENSE') // Brave Local Data component - const braveLocalDataDir = path.join(braveComponentsThirdPartyDir, 'local-data') + const braveLocalDataDir = path.join(braveComponentsThirdPartyDir, 'local_data') const braveLocalDataListsDir = path.join(braveLocalDataDir, 'lists') let localDataPreamble = 'These licenses do not apply to any of the code shipped with the Brave Browser, but may apply to data files downloaded after installation for use with various Brave features. The Brave Browser and such data files are separate and independent works.' const localDataComponents = listSubComponents(braveLocalDataListsDir) let localDataLicense = generateExternalComponentLicenseFile(localDataPreamble, localDataComponents) - fs.writeFileSync(path.join(braveComponentsThirdPartyDir, 'local-data', 'LICENSE'), localDataLicense) - console.log(' - ' + localDataComponents.length + ' sub-components added in local-data/LICENSE') + fs.writeFileSync(path.join(braveComponentsThirdPartyDir, 'local_data', 'LICENSE'), localDataLicense) + console.log(' - ' + localDataComponents.length + ' sub-components added in local_data/LICENSE') } }