svn commit: r224163 - projects/portbuild/scripts

Mark Linimon linimon at FreeBSD.org
Mon Jul 18 01:01:44 UTC 2011


Author: linimon (doc,ports committer)
Date: Mon Jul 18 01:01:44 2011
New Revision: 224163
URL: http://svn.freebsd.org/changeset/base/224163

Log:
  Also clean up /tmp/${buildid}/ when done.

Modified:
  projects/portbuild/scripts/dosetupnode

Modified: projects/portbuild/scripts/dosetupnode
==============================================================================
--- projects/portbuild/scripts/dosetupnode	Mon Jul 18 00:49:35 2011	(r224162)
+++ projects/portbuild/scripts/dosetupnode	Mon Jul 18 01:01:44 2011	(r224163)
@@ -137,8 +137,9 @@ setup() {
 	done
     fi
 
+    ${ssh_cmd} ${client_user}@${node} ${sudo_cmd} rm -rf ${cmdpath}
     if [ "${full}" -eq 1 ]; then
-	${ssh_cmd} ${client_user}@${node} ${sudo_cmd} rm -rf ${pbd}/${arch}/${branch}/builds/${buildid}/.ready ${pbd}/${arch}/${branch}/builds/${buildid} /tmp/.setup-${buildid}
+	${ssh_cmd} ${client_user}@${node} ${sudo_cmd} rm -rf ${pbd}/${arch}/${branch}/builds/${buildid}/.ready ${pbd}/${arch}/${branch}/builds/${buildid} /tmp/.setup-${buildid} /tmp/${buildid}/
     fi
 
     echo "setting up of $node ended at $(date)"
@@ -208,6 +209,7 @@ if [ "${nodelist}" = "all" ]; then
 fi
 
 for node in ${nodelist}; do
+    # XXX MCL return value not being checked, as always
     setup ${node} &
 done
 wait


More information about the svn-src-projects mailing list