projects
/
web.mtrack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MTrack/SCM/WorkingCopy.php
[web.mtrack]
/
MTrack
/
SCM
/
WorkingCopy.php
diff --git
a/MTrack/SCM/WorkingCopy.php
b/MTrack/SCM/WorkingCopy.php
index
47e7182
..
a9f8a9e
100644
(file)
--- a/
MTrack/SCM/WorkingCopy.php
+++ b/
MTrack/SCM/WorkingCopy.php
@@
-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');