|
@@ -255,6 +255,7 @@ class Release extends Command
|
|
}
|
|
}
|
|
$this->_domain = $input->getOption("domain");
|
|
$this->_domain = $input->getOption("domain");
|
|
$this->_client = $input->getOption("client");
|
|
$this->_client = $input->getOption("client");
|
|
|
|
+ $this->_dir = realpath($dir);
|
|
|
|
|
|
if (!$this->_client) {
|
|
if (!$this->_client) {
|
|
$this->_client = basename(realpath($dir));
|
|
$this->_client = basename(realpath($dir));
|
|
@@ -1086,8 +1087,8 @@ class Release extends Command
|
|
$all = "[all]\n";
|
|
$all = "[all]\n";
|
|
foreach ($composer->getServices() as $key => $value) {
|
|
foreach ($composer->getServices() as $key => $value) {
|
|
$tmp .= "[$key]\n";
|
|
$tmp .= "[$key]\n";
|
|
- $tmp .= $this->_client . "_" . $key . "_1\n\n";
|
|
|
|
- $all .= $this->_client . "_" . $key . "_1\n";
|
|
|
|
|
|
+ $tmp .= basename($this->_dir) . "_" . $key . "_1\n\n";
|
|
|
|
+ $all .= basename($this->_dir) . "_" . $key . "_1\n";
|
|
}
|
|
}
|
|
|
|
|
|
$this->_dObj->file("inventory.ini")->content($tmp . $all);
|
|
$this->_dObj->file("inventory.ini")->content($tmp . $all);
|