[42845] trunk/base/src/upgrade_sources_conf_default.tcl

blb at macports.org blb at macports.org
Mon Dec 1 00:24:40 PST 2008


Revision: 42845
          http://trac.macports.org/changeset/42845
Author:   blb at macports.org
Date:     2008-12-01 00:24:38 -0800 (Mon, 01 Dec 2008)
Log Message:
-----------
base/src/upgrade_sources_conf_default.tcl - make sure to delete the temp file if we didn't use it

Modified Paths:
--------------
    trunk/base/src/upgrade_sources_conf_default.tcl

Modified: trunk/base/src/upgrade_sources_conf_default.tcl
===================================================================
--- trunk/base/src/upgrade_sources_conf_default.tcl	2008-12-01 07:51:39 UTC (rev 42844)
+++ trunk/base/src/upgrade_sources_conf_default.tcl	2008-12-01 08:24:38 UTC (rev 42845)
@@ -76,6 +76,9 @@
    }
    file rename ${tempfile} ${sourcesConf}
    eval file attributes ${sourcesConf} $attributes
+} else {
+   file delete ${tempfile}
 }
+
 exit 0
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081201/d230415b/attachment.html>


More information about the macports-changes mailing list