This commit is contained in:
Carlos Fenollosa 2013-03-07 19:56:04 +01:00
parent 60fbd583ce
commit 9710192b70

2
bb.sh
View File

@ -557,7 +557,7 @@ rebuild_all_entries() {
awk '/<!-- text begin -->/, /<!-- text end -->/{if (!/<!-- text begin -->/ && !/<!-- text end -->/) print}' "$i" >> "$contentfile" awk '/<!-- text begin -->/, /<!-- text end -->/{if (!/<!-- text begin -->/ && !/<!-- text end -->/) print}' "$i" >> "$contentfile"
# Original post timestamp # Original post timestamp
timestamp="$(date -r $i)" timestamp="$(date -R -r $i)"
create_html_page "$contentfile" "$i.rebuilt" no "$title" "$timestamp" create_html_page "$contentfile" "$i.rebuilt" no "$title" "$timestamp"
# keep the original timestamp! # keep the original timestamp!