Salome HOME
0021208: EDF 1138 SMESH: Performance issue when loading SMESH with an hdf file contai...
authoreap <eap@opencascade.com>
Thu, 15 Mar 2012 08:51:54 +0000 (08:51 +0000)
committereap <eap@opencascade.com>
Thu, 15 Mar 2012 08:51:54 +0000 (08:51 +0000)
-    std::string command = "rm -f ";
+    std::string command = "rm -rf ";

src/Container/Container_i.cxx

index ca31feb8ef08951148c9f5d4b26c4de442067471..f0e45ab2bb4aca28c67473b9c0bc8a62e9a9a9f3 100644 (file)
@@ -1755,7 +1755,7 @@ void Engines_Container_i::clearTemporaryFiles()
 #ifdef WIN32
     std::string command = "del /F ";
 #else
-    std::string command = "rm -f ";
+    std::string command = "rm -rf ";
 #endif
     command += *it;
     system( command.c_str() );