diff --git a/Tools/build-translation.js b/Tools/build-translation.js index 09b75417f..dd0480d8e 100644 --- a/Tools/build-translation.js +++ b/Tools/build-translation.js @@ -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');