Commit 5da5feba authored by bgm's avatar bgm
Browse files

extractor.php: when extracting PHP for extensions, be more strict on the filenames used.

parent 7f033070
......@@ -84,7 +84,7 @@ $dir = $argv[2];
$command = "find $dir/CRM $dir/packages/HTML/QuickForm $phpModifier -not -wholename '*/CRM/Core/I18n.php' -not -wholename '*/CRM/Core/Smarty/plugins/block.ts.php' | grep -v '/\.svn/' | sort | xargs $phpExtractor $dir";
if ($argv[1] == 'extension') {
$command = "find ./ | grep -vE '\.(git|svn)/' | sort | xargs $phpExtractor $dir";
$command = "find ./ | grep -E '\.(php|inc)/' | sort | xargs $phpExtractor $dir";
}
fwrite(STDERR, "Running: $command\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment