Fixed quotes in default.mk.in
authorDavid Tenty <daltenty@csclub.uwaterloo.ca>
Sat, 6 Oct 2007 20:24:05 +0000 (16:24 -0400)
committerDavid Tenty <daltenty@csclub.uwaterloo.ca>
Sat, 6 Oct 2007 20:24:05 +0000 (16:24 -0400)
default.mk.in
xsl/atom.xsl

index 212f34b..e0f5eac 100644 (file)
@@ -1,7 +1,7 @@
 
 OUTPUTS=$(INPUTS:.xml=.html)
-XSLTARGS=g_date=`date -I` g_time=`date +%H:%M:%S` \
-       g_pwd="$$(pwd)" g_root="$(ROOT)" g_datetime=`date --rfc-3339=seconds`
+XSLTARGS=g_date=`date -I` g_time=`date +%H:%M:%S` g_datetime="`date --rfc-3339=seconds`" \
+       g_pwd="$$(pwd)" g_root="$(ROOT)"
 CLASSPATH=/users/www/saxon8/saxon8.jar
 
 all: $(OUTPUTS)
index 4297953..a22cd9d 100644 (file)
@@ -8,9 +8,6 @@
     xmlns:csc="http://csclub.uwaterloo.ca/xslt">
 
 <xsl:param name="g_datetime" required="yes" />
-<xsl:param name="g_time" required="yes" />
-<xsl:param name="g_pwd" required="yes" />
-<xsl:param name="g_root" required="yes" />
 
 <xsl:template match="//eventdefs">
     <xsl:call-template name="atom">
@@ -36,7 +33,7 @@
         <title>UW Computer Science Club <xsl:value-of select="$title"/></title>
         <link href="http://csclub.uwaterloo.ca/{$feedfile}" rel="self"/>
         <link href="http://csclub.uwaterloo.ca/"/>
-        <updated><xsl:value-of select="$g_date"/></updated>
+        <updated><xsl:value-of select="$g_datetime"/></updated>
         <id>urn:uuid:<xsl:value-of select="$uuid"/></id>
         <author>
         <name>University of Waterloo Computer Science Club</name>