Commit c297748f authored by bgm's avatar bgm

extractor.php: fix php extraction for PHP files.

parent 4ba28882
......@@ -89,7 +89,7 @@ function phpExtraction($dir, $component, $phpModifier) {
$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 ($component == 'extension') {
$command = "find ./ | grep -E '\.(php|inc)/' | sort | xargs $phpExtractor $dir";
$command = "find ./ | grep -E '\.(php|inc)' | sort | xargs $phpExtractor $dir";
}
elseif ($component == 'install') {
$command = "find $dir/*.php $dir/*.html | sort | xargs $phpExtractor $dir";
......
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