Skip to content

Commit

Permalink
Avoid cacert.pem.md5 error from Guzzle in projects using the Compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
opengeek committed May 12, 2014
1 parent a3a5d9a commit 2538f76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Teleport/Compiler.php
Expand Up @@ -227,7 +227,9 @@ private function addDependencies($phar)
$this->addFile($phar, $file);
}
$this->addFile($phar, new \SplFileInfo($this->path . '/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem'), false);
$this->addFile($phar, new \SplFileInfo($this->path . '/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem.md5'), false);
if (is_readable($this->path . '/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem.md5')) {
$this->addFile($phar, new \SplFileInfo($this->path . '/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem.md5'), false);
}

/* add symfony/event-dispatcher (guzzle requirement) */
$eventDispatcher = new Finder();
Expand Down

0 comments on commit 2538f76

Please sign in to comment.