1
0
Fork 0

Merge pull request #792 from liuggio/patch-790

fixed #790
pull/791/merge
Jordi Boggiano 2012-06-12 09:18:24 -07:00
commit e449f29d32
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ EOF;
foreach ($packageMap as $item) {
list($package, $installPath) = $item;
if (null !== $package->getTargetDir()) {
if (null !== $package->getTargetDir() && strlen($package->getTargetDir()) > 0) {
$installPath = substr($installPath, 0, -strlen('/'.$package->getTargetDir()));
}