[Debian-live-changes] r1545 - dists/trunk/live-helper/examples/cron
    daniel at alioth.debian.org 
    daniel at alioth.debian.org
       
    Fri May 18 08:43:57 UTC 2007
    
    
  
Author: daniel
Date: 2007-05-18 08:43:57 +0000 (Fri, 18 May 2007)
New Revision: 1545
Modified:
   dists/trunk/live-helper/examples/cron/snapshots.sh
Log:
Modified: dists/trunk/live-helper/examples/cron/snapshots.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/snapshots.sh	2007-05-18 08:39:52 UTC (rev 1544)
+++ dists/trunk/live-helper/examples/cron/snapshots.sh	2007-05-18 08:43:57 UTC (rev 1545)
@@ -39,6 +39,12 @@
 # Processing packages
 for PACKAGE in ${PACKAGES}
 do
+	# Cleaning build directory
+	if [ -d "${BUILD}" ]
+	then
+		rm -rf "${BUILD}"
+	fi
+
 	# Creating build directory
 	mkdir -p "${BUILD}"
 
    
    
More information about the Debian-live-changes
mailing list