r2766 - dists/trunk/live-webhelper/scripts

daniel at alioth.debian.org daniel at alioth.debian.org
Wed Aug 15 05:49:43 UTC 2007


Author: daniel
Date: 2007-08-15 05:49:43 +0000 (Wed, 15 Aug 2007)
New Revision: 2766

Modified:
   dists/trunk/live-webhelper/scripts/cron
Log:


Modified: dists/trunk/live-webhelper/scripts/cron
===================================================================
--- dists/trunk/live-webhelper/scripts/cron	2007-08-14 21:44:59 UTC (rev 2765)
+++ dists/trunk/live-webhelper/scripts/cron	2007-08-15 05:49:43 UTC (rev 2766)
@@ -53,15 +53,14 @@
 	for FILE in "${TEMPDIR}"/*.build
 	do
 		# Set the build number
-		BUILD="${FILE##*/}"
-		BUILD="${BUILD%.build}"
+		BUILD="`basename ${FILE} .build`"
 
 		echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-webhelper: begin web build (${BUILD})." >> /var/log/live
 
 		# Creating build directory which also creates the config/chroot_sources folder
 		mkdir -p "${TEMPDIR}"/"${BUILD}"/debian-live/config/chroot_sources
 
-		# The next two tests are for unofficial third partry repositories
+		# The next two tests are for unofficial third party repositories
 		if [ -n "${CUSTOM_BOOTSTRAP}" ]
 		then
 			echo "${CUSTOM_BOOTSTRAP}" > "${TEMPDIR}"/"${BUILD}"/debian-live/config/chroot_sources/custom.bootstrap




More information about the debian-live-changes mailing list