[Debian-live-changes] r1904 - dists/trunk/live-webhelper/scripts

daniel at alioth.debian.org daniel at alioth.debian.org
Thu May 31 11:32:37 UTC 2007


Author: daniel
Date: 2007-05-31 11:32:37 +0000 (Thu, 31 May 2007)
New Revision: 1904

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


Modified: dists/trunk/live-webhelper/scripts/cron
===================================================================
--- dists/trunk/live-webhelper/scripts/cron	2007-05-31 07:45:09 UTC (rev 1903)
+++ dists/trunk/live-webhelper/scripts/cron	2007-05-31 11:32:37 UTC (rev 1904)
@@ -40,7 +40,7 @@
 touch /var/lock/live-webhelper.lock
 
 # Cleanup old builds: cron should be run at least once per hour to take effect
-if ls "${DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* > /dev/null >2&1
+if ls "${DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* > /dev/null 2>&1
 then
 	rm -rf "${DESTDIR}"/`date -d yesterday +%Y%m%d.%H`*
 
@@ -48,7 +48,7 @@
 fi
 
 # Ok from here spin through the live-webhelper files we have waiting to build
-if ls "${TEMPDIR}"/*.build > /dev/null >2&1
+if ls "${TEMPDIR}"/*.build > /dev/null 2>&1
 then
 	for FILE in "${TEMPDIR}"/*.build
 	do
@@ -166,13 +166,13 @@
 		fi
 
 		# Moving binary image
-		if ls "${TEMPDIR}"/"${BUILD}"/debian-live/binary.* > /dev/null >2&1
+		if ls "${TEMPDIR}"/"${BUILD}"/debian-live/binary.* > /dev/null 2>&1
 		then
 			mv "${TEMPDIR}"/"${BUILD}"/debian-live/binary.* "${DESTDIR}"/"${BUILD}"
 		fi
 
 		# Moving source image
-		if ls "${TEMPDIR}"/"${BUILD}"/debian-live/source.* > /dev/null >2&1
+		if ls "${TEMPDIR}"/"${BUILD}"/debian-live/source.* > /dev/null 2>&1
 		then
 			mv "${TEMPDIR}"/"${BUILD}"/debian-live/source.* "${DESTDIR}"/"${BUILD}"
 		fi




More information about the Debian-live-changes mailing list