Author: reinhard Date: 2009-10-23 02:54:42 -0500 (Fri, 23 Oct 2009) New Revision: 9997
Modified: trunk/www/utils/create-website trunk/www/utils/sbin/update-tasks Log: Some cleanup to nightly build process. Modified: trunk/www/utils/create-website =================================================================== --- trunk/www/utils/create-website 2009-10-22 22:48:06 UTC (rev 9996) +++ trunk/www/utils/create-website 2009-10-23 07:54:42 UTC (rev 9997) @@ -37,13 +37,9 @@ # Admittedly, not the cleanest coding, but it works. utils.DEST = DEST - print "Writing to %s" % DEST - - # # Create the destination directories if they don't exist os.system("mkdir -p %s" % DEST) - # # Copy the static files into place, removing any .svn cruft os.system('cp -R %s/www/web/* %s/' % (SVN_BASE, DEST)) # Use -depth to make sure the find doesn't try to recurse down the directory Modified: trunk/www/utils/sbin/update-tasks =================================================================== --- trunk/www/utils/sbin/update-tasks 2009-10-22 22:48:06 UTC (rev 9996) +++ trunk/www/utils/sbin/update-tasks 2009-10-23 07:54:42 UTC (rev 9997) @@ -155,7 +155,7 @@ then for file in `cat $LOGLIST` do - muttarg="$muttarg -a $file" + test -s $file && muttarg="$muttarg -a $file" done (cat $OUTFILE|/usr/bin/mutt -s "GNUe update-website (`date +'%Y-%m-%d %H:%M:%S'`)" $muttarg $MAILTO) && rm -f `cat $LOGLIST` $LOGLIST else _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue