shithub: werc

Download patch

ref: 5b1843bcd6a750092182464f5739a053811efb29
parent: 82fd45075d72cb8ccb0aa307ea4123c44db86f75
author: uriel <uriel@engel.se.cat-v.org>
date: Fri Sep 26 10:48:31 EDT 2008

Use /tmp to store temporay sitemap.txt files

--- a/lib/sitemap.tpl
+++ b/lib/sitemap.tpl
@@ -1,8 +1,8 @@
 <h1>Site map</h1>
 
 %{
-p=`{pwd}
-tmpfile=$p/tmp/sitemap_$pid.txt
+tmpfile=/tmp/werc_sitemap_$pid.txt
+echo '' > $tmpfile
 saveddf = $dirfilter
 
 fn getMdDesc {