1
0
Fork 0

Fixed an issue when a phar file is used in "files" option in composer.json

pull/1491/head
M N Islam Shihan 2013-01-16 00:29:02 +06:00
parent 8ebf4455f0
commit 41e91f3064
1 changed files with 4 additions and 0 deletions

View File

@ -294,6 +294,10 @@ EOF;
$baseDir = '$vendorDir . '; $baseDir = '$vendorDir . ';
} }
if(preg_match('/\.phar$/', $path)){
$baseDir = '"phar://" . ' . $baseDir;
}
return $baseDir.var_export($path, true); return $baseDir.var_export($path, true);
} }