1
0
Fork 0
pull/1008/merge
Jordi Boggiano 2012-08-18 16:18:41 +02:00
parent ef1f8a605f
commit ef637c8f1a
11 changed files with 17 additions and 16 deletions

View File

@ -312,6 +312,7 @@ EOF;
// path starts with vendor dir // path starts with vendor dir
return $vendorPath . substr($path, strlen($relVendorPath)); return $vendorPath . substr($path, strlen($relVendorPath));
} }
return strtr(getcwd(), '\\', '/').'/'.$path; return strtr(getcwd(), '\\', '/').'/'.$path;
} }
@ -407,6 +408,7 @@ REGISTER_AUTOLOAD;
$file .= <<<METHOD_FOOTER $file .= <<<METHOD_FOOTER
\$loader->register(); \$loader->register();
$filesCode $filesCode
return \$loader; return \$loader;
} }

View File

@ -13,7 +13,6 @@
namespace Composer\Command; namespace Composer\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use Composer\Downloader\VcsDownloader; use Composer\Downloader\VcsDownloader;