[51415] branches/gsoc09-logging/base/src/port/port.tcl

enl at macports.org enl at macports.org
Sun May 24 10:19:06 PDT 2009


Revision: 51415
          http://trac.macports.org/changeset/51415
Author:   enl at macports.org
Date:     2009-05-24 10:19:04 -0700 (Sun, 24 May 2009)
Log Message:
-----------
Deleted log clean proc from port.tcl, no need, because now it is cleaned by autoclean (work dir removed)

Modified Paths:
--------------
    branches/gsoc09-logging/base/src/port/port.tcl

Modified: branches/gsoc09-logging/base/src/port/port.tcl
===================================================================
--- branches/gsoc09-logging/base/src/port/port.tcl	2009-05-24 16:20:51 UTC (rev 51414)
+++ branches/gsoc09-logging/base/src/port/port.tcl	2009-05-24 17:19:04 UTC (rev 51415)
@@ -39,22 +39,7 @@
 package require macports
 package require Pextlib 1.0
 
-trace add execution exit enter exit_cleanup
 
-proc exit_cleanup {commandstring op} {
-    global exit_status global_options ::debuglog ::debuglogname
-    if {[info exists ::debuglog]} {
-        close $::debuglog
-        if {($exit_status != 0) || ([info exists global_options(ports_autoclean)] && !$global_options(ports_autoclean))} {
-            puts "See the debug log at $::debuglogname"
-        } else {
-            file delete -force $::debuglogname
-            puts "deleting log"
-        }
-    }
-}
-
-
 # Standard procedures
 proc print_usage {{verbose 1}} {
     global cmdname
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090524/4ae87425/attachment.html>


More information about the macports-changes mailing list