]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix bad 'rm' command's syntax
authorvsr <vsr@opencascade.com>
Mon, 11 Mar 2019 14:23:02 +0000 (17:23 +0300)
committervsr <vsr@opencascade.com>
Mon, 11 Mar 2019 14:24:25 +0000 (17:24 +0300)
src/Container/Container_i.cxx

index 213a778cfff5118fe9a6ad8bdcfa75289cba9ea9..587b07f2e12a3e6899f34e45f8caedcbfae8d5d5 100644 (file)
@@ -1864,7 +1864,9 @@ void Engines_Container_i::clearTemporaryFiles()
     std::string command = "rm -rf ";
 #endif
     command += *it;
-       command += "\" 2>NUL";
+#ifdef WIN32     
+    command += "\" 2>NUL";
+#endif
     system( command.c_str() );
   }
   _tmp_files.clear();