[Finder] disable the BSD find adapter on the Mac as it does not work yet (refs #6412)

This commit is contained in:
Fabien Potencier 2012-12-19 08:39:37 +01:00
parent 6c43e2e168
commit 6261779ef3

View File

@ -34,7 +34,8 @@ class BsdFindAdapter extends AbstractFindAdapter
*/
protected function canBeUsed()
{
return in_array($this->shell->getType(), array(Shell::TYPE_BSD, Shell::TYPE_DARWIN)) && parent::canBeUsed();
// FIXME: this adapter does not work yet with Shell::TYPE_DARWIN
return in_array($this->shell->getType(), array(Shell::TYPE_BSD)) && parent::canBeUsed();
}
/**