[Swift-commit] r3679 - trunk/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Oct 11 10:27:09 CDT 2010


Author: wozniak
Date: 2010-10-11 10:27:08 -0500 (Mon, 11 Oct 2010)
New Revision: 3679

Modified:
   trunk/libexec/vdl-int.k
Log:
Only attempt a CDM cleanup if CDM GATHER did something


Modified: trunk/libexec/vdl-int.k
===================================================================
--- trunk/libexec/vdl-int.k	2010-10-11 03:40:28 UTC (rev 3678)
+++ trunk/libexec/vdl-int.k	2010-10-11 15:27:08 UTC (rev 3679)
@@ -138,8 +138,9 @@
 		element(cleanup, [dir, host]
 			log(LOG:INFO, "START dir={dir} host={host}")
 			cdmfile := cdm:file()
-			log(LOG:INFO, "cdmfile {cdmfile}")
-			if(cdmfile != "" then(
+			log(LOG:DEBUG, "cdmfile {cdmfile}")
+			if(cdmfile != "" &
+                           cdm:get("GATHER_DIR") != "UNSET" then(
 				log(LOG:INFO, "submitting cdm_cleanup.sh to {dir}")
 				task:transfer(srcfile="cdm_cleanup.sh",
 					      srcdir="{swift.home}/libexec",




More information about the Swift-commit mailing list