[Fusionforge-commits] r10980 - trunk/tests/scripts

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Oct 14 10:05:18 CEST 2010


Author: cbayle
Date: 2010-10-14 10:05:18 +0200 (Thu, 14 Oct 2010)
New Revision: 10980

Modified:
   trunk/tests/scripts/fusionforge-build-and-test-deb.sh
Log:
Erase the repository before building


Modified: trunk/tests/scripts/fusionforge-build-and-test-deb.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2010-10-13 22:44:34 UTC (rev 10979)
+++ trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2010-10-14 08:05:18 UTC (rev 10980)
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh -ex
 
 export CURDIR=`pwd`
 export WORKSPACE=${WORKSPACE:-$CURDIR}
@@ -35,6 +35,8 @@
 
 [ ! -d $WORKSPACE/build/packages ] || rm -fr $WORKSPACE/build/packages
 mkdir -p $WORKSPACE/build/packages
+# Comment out the next line when you don't want to rebuild all the time
+[ ! -d $WORKSPACE/build/debian ] || rm -fr $WORKSPACE/build/debian
 [ -d $WORKSPACE/build/debian ] || mkdir $WORKSPACE/build/debian
 [ ! -d $WORKSPACE/reports ] || rm -fr $WORKSPACE/reports
 mkdir -p $WORKSPACE/reports/coverage




More information about the Fusionforge-commits mailing list