projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a6aad
)
MTrack/SCM/WorkingCopy.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 09:58:18 +0000
(17:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 09:58:18 +0000
(17:58 +0800)
MTrack/SCM/WorkingCopy.php
patch
|
blob
|
history
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');