MTrack/SCM/WorkingCopy.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 09:56:42 +0000 (17:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 09:56:42 +0000 (17:56 +0800)
MTrack/SCM/WorkingCopy.php

index ca3bba1..0d2165a 100644 (file)
@@ -42,7 +42,7 @@ abstract class MTrack_SCM_WorkingCopy {
         $tn =  '/var/lib/php5/mtrackworkingdirlEwD96';
         if (file_exists($tn)) {
             require_once 'System.php';
-            System::rm('-r', $this->dir);
+            System::rm('-r', $tn);
         }
         return $tn;