[Debian-live-changes] r1227 - dists/trunk/live-webbuilder

Daniel Baumann daniel at alioth.debian.org
Fri May 4 13:47:58 UTC 2007


Author: daniel
Date: 2007-05-04 13:47:57 +0000 (Fri, 04 May 2007)
New Revision: 1227

Modified:
   dists/trunk/live-webbuilder/live-webbuilder.sh
Log:


Modified: dists/trunk/live-webbuilder/live-webbuilder.sh
===================================================================
--- dists/trunk/live-webbuilder/live-webbuilder.sh	2007-05-04 13:38:12 UTC (rev 1226)
+++ dists/trunk/live-webbuilder/live-webbuilder.sh	2007-05-04 13:47:57 UTC (rev 1227)
@@ -6,7 +6,7 @@
 # - Cleanup the expressions to work correct.
 # - Added some base values.
 # - Changed name to live-webbuilder to match svn granted by panthera.
-# 20070502 Nelson 
+# 20070502 Nelson
 # - Set version to 0.2
 # - Get initial layout of idea.
 
@@ -50,13 +50,13 @@
 <h1>This is the live-webbuild interface version ${VERSION_NUMBER} for the <a href="http://debian-live.alioth.debian.org/">Debian Live</a> project.</h1>
 </div>
 HTMLHEADER
-	
+
 ##########################################
 # Collet the parms
 ##########################################
 #echo $QUERY_STRING
 
-if [ -z "$QUERY_STRING" ]; then  
+if [ -z "$QUERY_STRING" ]; then
 	##########################################
 	# Generate the form since it looks like
 	# no parameters were detected being passed.
@@ -134,11 +134,11 @@
 	WWW_DISTRIBUTION=`echo "$QUERY_STRING" | grep -oE "(^|[?&])www_distribution=[a-z]+" | cut -f 2 -d "=" | head -n1`
 	WWW_PACKAGES=`echo "$QUERY_STRING" | grep -oE "(^|[?&])www_packages=[[0-9,a-z,A-Z,.,_,-]+" | sed "s/+/ /g" | cut -f 2 -d "="`
 	WWW_FILESYSTEM=`echo "$QUERY_STRING" | grep -oE "(^|[?&])www_filesystem=[0-9,a-z]+" | cut -f 2 -d "=" | head -n1`
-	
+
 	##########################################
 	# Set the build number
 	# This is crude but should get the average
-	# site by until someone else wanted to mess 
+	# site by until someone else wanted to mess
 	# with.
 	##########################################
 	WWW_BUILD_ID=`date +%Y%m%d%H%M%S`
@@ -162,12 +162,11 @@
 
 	##########################################
 	# Set the variables to pass to the cron job
-	# for processing. 
+	# for processing.
 	##########################################
 	echo `whoami`
 	echo "WWW_LIVE_PARAMETERS=\"${WWW_MAKE_LIVE_PARAMETERS}\"" > /tmp/${WWW_BUILD_ID}.wdl
 	echo "WWW_REPLY_TO_EMAIL=\"${WWW_REPLY_TO_EMAIL}\"" >> /tmp/${WWW_BUILD_ID}.wdl
 
 	#{ make-live -r ${WWW_WOKR_PATH}${WWW_BUILD_ID} --mirror-build ${WWW_MIRROR_BUILD} --packages-lists ${WWW_PACKAGES_LISTS} --binary-image ${WWW_BINARY_IMAGE} --distibution ${WWW_DISTRIBUTION} --filesystem ${WWW_FILESYSTEM} --packages "${WWW_PACKAGES}"; echo "Returned $? at $(date)"; } 2>&1 | mail -s "Your debian-live build with id - ${WWW_BUILD_ID}" ${WWW_REPLY_TO_EMAIL}
-fi  
-
+fi




More information about the Debian-live-changes mailing list