home
·
contact
·
privacy
projects
/
redo-blog
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify HTML file link path determination.
[redo-blog]
/
processor
/
metadata
/
default.feed_snippet.do
diff --git
a/processor/metadata/default.feed_snippet.do
b/processor/metadata/default.feed_snippet.do
index b09eaa056e62537b10df8f8cd987554943b1e151..3321ac4071f684123499a6fcc3174fec2a87439f 100644
(file)
--- a/
processor/metadata/default.feed_snippet.do
+++ b/
processor/metadata/default.feed_snippet.do
@@
-9,8
+9,7
@@
intermediate_file="${1%.feed_snippet}.intermediate"
redo-ifchange "$intermediate_file"
# Get variables, write entry.
redo-ifchange "$intermediate_file"
# Get variables, write entry.
-html_file=`escape_url "${src_file%.*}.html"`
-html_file=${html_file#*/}
+html_file=$(escape_url "${1%.feed_snippet}.html")
lastmod=`stat -c%y "$src_file"`
lastmod_rfc3339=`date -u "+%Y-%m-%dT%TZ" -d "$lastmod"`
published=`stat -c%y "$uuid_file"`
lastmod=`stat -c%y "$src_file"`
lastmod_rfc3339=`date -u "+%Y-%m-%dT%TZ" -d "$lastmod"`
published=`stat -c%y "$uuid_file"`