shithub: werc

Download patch

ref: 9f45db11e1c4856f9f3902ef56203d4292b9b052
parent: 3a4faa9d9c108b58c7bc32a28f5245c3a6b5b466
author: uriel <[email protected]>
date: Tue Dec 2 06:38:45 EST 2008

Fix stupid typo, thanks 9soul for the catch!

--- a/lib/feeds/atom.tpl
+++ b/lib/feeds/atom.tpl
@@ -8,7 +8,7 @@
 	f = $1
 
     updated = `{/bin/date --rfc-3339'=seconds' -r $f |sed 's/ /T/'} 
-	post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,'-e 's/\.(md|tpl)$//g'}}
+	post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,' -e 's/\.(md|tpl)$//g'}}
 	title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
 	date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}}
 	# TODO: use mtime(1) and ls(1) instead of lunix's stat(1)