From 035f5c9949a5e0f3198766f742bac4cdddb208f2 Mon Sep 17 00:00:00 2001 From: Brett Bieber Date: Wed, 13 Jul 2011 14:16:59 -0500 Subject: [PATCH] Path to the local vendor dir has changed now that Pyrus is not in PEAR2/Pyrus, remove one ../ so the package command works. --- src/Pyrus/Developer/PackageFile/Commands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pyrus/Developer/PackageFile/Commands.php b/src/Pyrus/Developer/PackageFile/Commands.php index ab318bd..ea33fbf 100644 --- a/src/Pyrus/Developer/PackageFile/Commands.php +++ b/src/Pyrus/Developer/PackageFile/Commands.php @@ -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(