I18n: fix listing JS files in extract_messages CLI command
This commit is contained in:
parent
6a0bb16517
commit
5d018045c8
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ class I18n {
|
||||||
// List JS files to parse
|
// List JS files to parse
|
||||||
$cmd = array(
|
$cmd = array(
|
||||||
'find', escapeshellarg($relative_static_directory),
|
'find', escapeshellarg($relative_static_directory),
|
||||||
'-name', "'*.tpl'", '-type', 'f'
|
'-name', "'*.js'", '-type', 'f'
|
||||||
);
|
);
|
||||||
foreach($excluded_paths as $path)
|
foreach($excluded_paths as $path)
|
||||||
array_push($cmd, "-not", "-path", "'$path'");
|
array_push($cmd, "-not", "-path", "'$path'");
|
||||||
|
|
Loading…
Reference in a new issue