Fix relative target dirs
parent
21d74328e3
commit
304ce3b375
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue