Use /tmp to store temporay sitemap.txt files - swerc - anselm's simpler werc fo… | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit d3e9bf554e7a843e042de878cb0bbe6fa4d6ac8d | |
parent e40d98c9be8ad122d307d955341960554e18f21f | |
Author: [email protected] <unknown> | |
Date: Fri, 26 Sep 2008 14:48:31 +0200 | |
Use /tmp to store temporay sitemap.txt files | |
Diffstat: | |
M lib/sitemap.tpl | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git 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 { |