Skip to content

Commit

Permalink
Path to the local vendor dir has changed now that Pyrus is not in
Browse files Browse the repository at this point in the history
PEAR2/Pyrus, remove one ../ so the package command works.
  • Loading branch information
saltybeagle committed Jul 13, 2011
1 parent ac5d36a commit 035f5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pyrus/Developer/PackageFile/Commands.php
Expand Up @@ -250,7 +250,7 @@ function package($frontend, $args, $options)
if (0 !== strpos($sourcepath, 'phar://')) {
// running from svn, assume we're in a standard package layout with a vendor dir
// TODO: Improve this to automatically find latest releases from pear2.php.net
$exceptionpath = $autoloadpath = $multierrorspath = realpath($sourcepath . '/../../vendor/php') .
$exceptionpath = $autoloadpath = $multierrorspath = realpath($sourcepath . '/../vendor/php') .
'/PEAR2';
if (!file_exists($exceptionpath . '/Exception.php')) {
throw new \Pyrus\Developer\Creator\Exception(
Expand Down

0 comments on commit 035f5c9

Please sign in to comment.