1
0
Fork 0

Fix relative target dirs

pull/142/head
Jordi Boggiano 2011-12-04 22:13:11 +01:00
parent 21d74328e3
commit 304ce3b375
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ EOF;
$filesystem = new Filesystem(); $filesystem = new Filesystem();
$vendorPath = strtr(realpath($installationManager->getVendorPath()), '\\', '/'); $vendorPath = strtr(realpath($installationManager->getVendorPath()), '\\', '/');
$relVendorPath = ltrim(substr($vendorPath, strlen(getcwd())), '/'); $relVendorPath = ltrim(substr($vendorPath, strlen(getcwd())), '/');
$vendorDirCode = $filesystem->findShortestPathCode($targetDir, $vendorPath, true); $vendorDirCode = $filesystem->findShortestPathCode(realpath($targetDir), $vendorPath, true);
$namespacesFile = <<<EOF $namespacesFile = <<<EOF
<?php <?php