r263 - scripts/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Jun 14 09:26:19 PDT 2005


Author: jhuntwork
Date: 2005-06-14 10:26:17 -0600 (Tue, 14 Jun 2005)
New Revision: 263

Modified:
   scripts/trunk/update-website.mk
Log:
Really fixed use of 'tr' this time

Modified: scripts/trunk/update-website.mk
===================================================================
--- scripts/trunk/update-website.mk	2005-06-14 16:23:23 UTC (rev 262)
+++ scripts/trunk/update-website.mk	2005-06-14 16:26:17 UTC (rev 263)
@@ -62,7 +62,7 @@
 	rm logs/$*.html.tmp
 	# The following is temporary until news items sorted out
 	for i in logs/* ; do name=`echo $$i | \
-	sed 's at logs/\(.*\).html@\1@'` && lcname=`printf "%s\n" "$$name" | tr '[A-Z]''[a-z]'` && \
+	sed 's at logs/\(.*\).html@\1@'` && lcname=`echo $$name | tr A-Z a-z` && \
 	if [ $$name != "www2" ] ; then \
 	echo "<!--#set var=\"pageTitle\" value=\"$$name News\" -->" > $$lcname/news.html && \
 	echo "<!--#include virtual="header.html" -->" >> $$lcname/news.html && \




More information about the website mailing list