Tools: Fixed build-translation tool on macOS

pull/3362/head
Laurent Cozic 2020-06-13 17:41:02 +01:00
parent 4aef72572d
commit 4c95872826
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ async function createPotFile(potFilePath) {
'./Tools/*',
];
const findCommand = `find ./ -iname '*.js' -not -path '${excludedDirs.join('\' -not -path \'')}'`;
const findCommand = `find . -iname '*.js' -not -path '${excludedDirs.join('\' -not -path \'')}'`;
process.chdir(`${__dirname}/..`);
const files = (await execCommand(findCommand)).split('\n');