[Debian-live-changes] r1876 - dists/trunk/live-webhelper/scripts
daniel at alioth.debian.org
daniel at alioth.debian.org
Tue May 29 17:59:04 UTC 2007
Author: daniel
Date: 2007-05-29 17:59:04 +0000 (Tue, 29 May 2007)
New Revision: 1876
Modified:
dists/trunk/live-webhelper/scripts/cron
Log:
Modified: dists/trunk/live-webhelper/scripts/cron
===================================================================
--- dists/trunk/live-webhelper/scripts/cron 2007-05-29 17:58:14 UTC (rev 1875)
+++ dists/trunk/live-webhelper/scripts/cron 2007-05-29 17:59:04 UTC (rev 1876)
@@ -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
+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
+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
+ 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
+ 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