1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Fixed build-translation tool on macOS

This commit is contained in:
Laurent Cozic 2020-06-13 17:41:02 +01:00
parent 4aef72572d
commit 4c95872826

View File

@ -113,7 +113,7 @@ async function createPotFile(potFilePath) {
'./Tools/*', './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}/..`); process.chdir(`${__dirname}/..`);
const files = (await execCommand(findCommand)).split('\n'); const files = (await execCommand(findCommand)).split('\n');