Skip to content

Commit

Permalink
exclude build file
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes committed Jul 4, 2015
1 parent edd4c1d commit 73a7d59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified jibe.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Symcloud/Component/Sync/Crawler/DirectoryCrawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private function doRun($path = '/')
{
$parentPath = rtrim($this->directory . '/' . $path, '/');
foreach (scandir($parentPath) as $child) {
if (strpos($child, '.') !== 0) {
if (strpos($child, '.') !== 0 && $child !== 'jibe.phar') {
$fullPath = rtrim($parentPath, '/') . '/' . ltrim($child, '/');
$childPath = rtrim(ltrim($path . '/' . $child, '/'), '/');

Expand Down

0 comments on commit 73a7d59

Please sign in to comment.