mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
N°9144 - fix rebase
This commit is contained in:
@@ -55,14 +55,14 @@ class UnitTestRunTimeEnvironment extends RunTimeEnvironment
|
|||||||
SetupUtils::rrmdir($sDestModulesDir);
|
SetupUtils::rrmdir($sDestModulesDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetupUtils::copydir(APPROOT.'/data/'.$sSourceEnv.'-modules', $sDestModulesDir, $bUseSymLinks);
|
SetupUtils::copydir(APPROOT.'/data/'.$sSourceEnv.'-modules', $sDestModulesDir, (true === $bUseSymLinks));
|
||||||
|
|
||||||
if ($this->bUseAdditionalFeatures) {
|
if ($this->bUseAdditionalFeatures) {
|
||||||
foreach ($this->GetExtensionFoldersToAdd() as $sExtensionCode => $sFolderPath) {
|
foreach ($this->GetExtensionFoldersToAdd() as $sExtensionCode => $sFolderPath) {
|
||||||
\SetupLog::Info("ExtensionFoldersToAdd: $sExtensionCode => $sFolderPath");
|
\SetupLog::Info("ExtensionFoldersToAdd: $sExtensionCode => $sFolderPath");
|
||||||
$sFolderName = basename($sFolderPath);
|
$sFolderName = basename($sFolderPath);
|
||||||
@mkdir($sDestModulesDir.DIRECTORY_SEPARATOR.$sFolderName);
|
@mkdir($sDestModulesDir.DIRECTORY_SEPARATOR.$sFolderName);
|
||||||
SetupUtils::copydir($sFolderPath, $sDestModulesDir.DIRECTORY_SEPARATOR.$sFolderName, $bUseSymLinks);
|
SetupUtils::copydir($sFolderPath, $sDestModulesDir.DIRECTORY_SEPARATOR.$sFolderName, (true === $bUseSymLinks));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user