Move bin dir to a subdir of vendor
parent
7e3f8099b1
commit
9028546c5a
|
@ -92,7 +92,6 @@ class Application extends BaseApplication
|
|||
// Configuration defaults
|
||||
$composerConfig = array(
|
||||
'vendor-dir' => 'vendor',
|
||||
'bin-dir' => 'bin',
|
||||
);
|
||||
|
||||
$packageConfig = $file->read();
|
||||
|
@ -104,6 +103,9 @@ class Application extends BaseApplication
|
|||
}
|
||||
|
||||
$vendorDir = $packageConfig['config']['vendor-dir'];
|
||||
if (!isset($packageConfig['config']['bin-dir'])) {
|
||||
$packageConfig['config']['bin-dir'] = $vendorDir.'/bin';
|
||||
}
|
||||
$binDir = $packageConfig['config']['bin-dir'];
|
||||
|
||||
// initialize repository manager
|
||||
|
|
Loading…
Reference in New Issue