MTrack/SCM/WorkingCopy.php
[web.mtrack] / MTrack / SCM / WorkingCopy.php
index 47e7182..a9f8a9e 100644 (file)
@@ -45,7 +45,10 @@ abstract class MTrack_SCM_WorkingCopy {
             require_once 'System.php';
             System::rm('-rf', $tn);
         }
-        
+        clearstatcache();
+        if (file_exists($tn)) {
+            die("OOPS");
+        }
         return $tn;
 
         $tn = tempnam(ini_get('session.save_path'),'mtrackworkingdir');