Author: reinhard
Date: 2007-06-06 10:18:06 -0500 (Wed, 06 Jun 2007)
New Revision: 9693
Modified:
trunk/www/utils/sbin/update-tasks
Log:
Fixed typo.
Modified: trunk/www/utils/sbin/update-tasks
===================================================================
--- trunk/www/utils/sbin/update-tasks 2007-06-06 15:05:43 UTC (rev 9692)
+++ trunk/www/utils/sbin/update-tasks 2007-06-06 15:18:06 UTC (rev 9693)
@@ -64,7 +64,7 @@
#
if [ "$RECHECKOUT" = "yes" ]
then
- echo "$(date "%F %T") Checking out svn."
+ echo "$(date +"%F %T") Checking out svn."
rm -rf ${CHECKOUT}
svn co -q --non-interactive file:///var/svn/gnue/trunk ${CHECKOUT}
else
@@ -84,18 +84,18 @@
# Run setup-svn.py to get a working install in /usr/local/gnue-sandbox/
#
rm -rf ${BASE}/gnue ${BASE}/bin/*
-echo "$(date "%F %T") Running setup-svn.py."
+echo "$(date +"%F %T") Running setup-svn.py."
cd ${CHECKOUT}/gnue-common
HOME=${BASE} ./setup-svn.py --auto 2>&1 | sed 's/^/ (*) /g'
# Update the website based on gnue/www/
-echo "$(date "%F %T") Updating website."
+echo "$(date +"%F %T") Updating website."
cd ${CHECKOUT}/www
$BASE/bin/gcvs utils/create-website --update --dest /usr/local/www/gnue/htdocs --htdig /etc/htdig --twiki /var/lib/twiki/templates 2>&1 | sed 's/^/ (*) /g'
# Update the downloads section
-echo "$(date "%F %T") Updating downloads."
+echo "$(date +"%F %T") Updating downloads."
/usr/local/gnue-sandbox/sbin/update-downloads 2>&1 | sed 's/^/ (*) /g'
#
@@ -105,7 +105,7 @@
for tool in `(cd ${INSTALLED}/gnue; ls|grep -v '\.')`
do
SRC=${INSTALLED}/gnue/${tool}
- echo -n "$(date "%F %T") Performing tasks for ${tool}:"
+ echo -n "$(date +"%F %T") Performing tasks for ${tool}:"
#
# Epydoc
@@ -150,7 +150,7 @@
kill ${BADGER} 2>/dev/null
lockfile-remove $LOCKFILE
-echo "$(date "%F %T") Website update finished."
+echo "$(date +"%F %T") Website update finished."
) > $OUTFILE 2>&1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.