N°3721 - toolkit's "update iTop" with the "Create symbolic links" option checked now empty the compiled directory as expected

This commit is contained in:
bruno-ds
2021-02-10 15:35:38 +01:00
parent 19270a9dde
commit f328e58c02

View File

@@ -133,6 +133,8 @@ class MFCompiler
{ {
// Skip the creation of a temporary dictionary, not compatible with symbolic links // Skip the creation of a temporary dictionary, not compatible with symbolic links
$sTempTargetDir = $sFinalTargetDir; $sTempTargetDir = $sFinalTargetDir;
SetupUtils::rrmdir($sFinalTargetDir);
SetupUtils::builddir($sFinalTargetDir); // Here is the directory
} }
else else
{ {