[med-svn] r1457 - trunk/community/infrastructure/scripts

tille at alioth.debian.org tille at alioth.debian.org
Wed Feb 20 21:14:59 UTC 2008


Author: tille
Date: 2008-02-20 21:14:58 +0000 (Wed, 20 Feb 2008)
New Revision: 1457

Modified:
   trunk/community/infrastructure/scripts/update-tasks
Log:
Use relative paths from tasks/index.php to the task sections to work
nicely in Debian-Science which resides in a subdirectory of CDD.


Modified: trunk/community/infrastructure/scripts/update-tasks
===================================================================
--- trunk/community/infrastructure/scripts/update-tasks	2008-02-20 20:11:13 UTC (rev 1456)
+++ trunk/community/infrastructure/scripts/update-tasks	2008-02-20 21:14:58 UTC (rev 1457)
@@ -45,7 +45,7 @@
 	node.date.content = formatdate(time.mktime(t.timetuple()))
 
 def renderTaskList(node, task):
-	node.task.raw = """<a href="/tasks/%s.php" name="%s" id="%s">%s</a>""" % (task, task, task, task.capitalize())
+	node.task.raw = """<a href="%s.php" name="%s" id="%s">%s</a>""" % (task, task, task, task.capitalize())
 
 def renderTasks(node, task, packages, details):
 	global cdeps




More information about the debian-med-commit mailing list