Skip to content

Commit

Permalink
[Finder] disable the BSD find adapter on the Mac as it does not work …
Browse files Browse the repository at this point in the history
…yet (refs #6412)
  • Loading branch information
fabpot committed Dec 19, 2012
1 parent 6c43e2e commit 6261779
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Symfony/Component/Finder/Adapter/BsdFindAdapter.php
Expand Up @@ -34,7 +34,8 @@ public function getName()
*/
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();
}

/**
Expand Down

0 comments on commit 6261779

Please sign in to comment.