[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Andreas Beckmann anbe at debian.org
Wed May 15 10:09:41 UTC 2013


The following commit has been merged in the master branch:
commit e4b00bd3d8b940ccabf10f53de12d8892bda589a
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Apr 5 14:08:46 2013 +0200

    slave_run: fix running slave_cleanup
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/slave-bin/slave_run.in b/slave-bin/slave_run.in
index 4fec03c..7dea426 100755
--- a/slave-bin/slave_run.in
+++ b/slave-bin/slave_run.in
@@ -41,10 +41,13 @@ if ! screen -ls $SESSIONNAME | grep -q "No Sockets found" ; then
 	exit 1
 fi
 
-# prepare environment
+# cleanup cruft from previous runs
+ at sharedir@/piuparts/slave/slave_cleanup
 rm -f $SCREENLOG
- at sharedir@/piuparts/piuparts_cleanup
+
+# ensure the temporary directory exists
 mkdir -p $PIUPARTS_TMPDIR
+
 mkdir -p $SLAVEROOT
 cd $SLAVEROOT
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list