Skip to content

Commit

Permalink
Correct path to PEAR2 Exception, Autoload, and MultiErrors.
Browse files Browse the repository at this point in the history
  • Loading branch information
saltybeagle committed Jul 12, 2010
1 parent 2271507 commit e14c616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pyrus/Developer/PackageFile/Commands.php
Expand Up @@ -220,14 +220,14 @@ function package($frontend, $args, $options)
// running from svn, assume we're in an all checkout
$svnall = realpath($sourcepath . '/../..');
if (!file_exists($svnall . '/Exception')) {
throw new \PEAR2\Pyrus\Developer\Creator\Exception('Cannot locate pear2/Exception and friends, bailing');
throw new \PEAR2\Pyrus\Developer\Creator\Exception('Cannot locate PEAR2/Exception and friends, bailing');
}
$exceptionpath = $svnall . '/Exception/src';
$autoloadpath = $svnall . '/Autoload/src';
$multierrorspath = $svnall . '/MultiErrors/src';
} else {
$exceptionpath = $autoloadpath = $multierrorspath = dirname($sourcepath) .
'/pear2';
'/PEAR2';
}
$extras = array();
$stub = false;
Expand Down

0 comments on commit e14c616

Please sign in to comment.