Skip to content

Commit

Permalink
Use underscore in sub-directory name (fixes brave#7176)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Jan 18, 2020
1 parent 9c3092a commit 4a702ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/licensing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}

Expand Down

0 comments on commit 4a702ec

Please sign in to comment.