From 4c95872826c84a55c80e8959839fb94086bccf90 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 13 Jun 2020 17:41:02 +0100 Subject: [PATCH] Tools: Fixed build-translation tool on macOS --- Tools/build-translation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');