Salome HOME
removing the directory of scenario after checkin
authorbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:21:27 +0000 (18:21 +0400)
committerbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:21:27 +0000 (18:21 +0400)
src/SimanIO_Link.cxx

index dd90295db6f26077b6a5aa1d9f3633244babdc1b..336a68b26f530eafc8ec5d93ce9dda2064b0d2c8 100644 (file)
@@ -305,7 +305,7 @@ void SimanIO_Link::StoreConf(/*const*/ SimanIO_Configuration& theConf)
   aCheckInResponse = aStub->checkIn(aCheckInRequest);
   
   //Delete the directories
-  system(("rm -r " + aTmpDir + "/SimanSalome/").c_str());
+  system(("rm -rf " + aTmpDir + "/SimanSalome/" + myStudy + "/" + myScenario + "/").c_str());
   
   //Delete objects
   delete aPutFileRequest;