summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-05-16 18:18:47 +0300
committerLars Wirzenius <liw@liw.fi>2016-05-16 18:18:47 +0300
commit75498ac7dda8becd2e5624790fddd19bb3d33bd1 (patch)
tree4262aa4a356fabb5a12efdeb33499d55cdb4a500
parent6e3426de32a185669706645b1b3f89e33355819b (diff)
downloadql-ikiwiki-publish-75498ac7dda8becd2e5624790fddd19bb3d33bd1.tar.gz
Run ikiwiki with --gettime
-rw-r--r--NEWS2
-rwxr-xr-xql-ikiwiki-publish2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 740c670..3c03815 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ NEWS for ql-ikiwiki-publish
Version 0.5+git, not yet released
---------------------------------
+* Run ikiwiki with the `--gettime` option to make sure timestamps are
+ correct.
Version 0.5, released 2016-05-16
---------------------------------
diff --git a/ql-ikiwiki-publish b/ql-ikiwiki-publish
index 927c83e..be5b1a1 100755
--- a/ql-ikiwiki-publish
+++ b/ql-ikiwiki-publish
@@ -51,7 +51,7 @@ try:
setup = os.path.join(T, 'ikiwiki.setup')
html = os.path.join(T, 'html')
mangle_setup('ikiwiki.setup', setup, html)
- subprocess.check_call(['ikiwiki', '--setup', setup])
+ subprocess.check_call(['ikiwiki', '--setup', setup, '--gettime'])
subprocess.check_call(
['rsync', '-ahHSvs', '--delete', html + '/.', rsync_target])
except BaseException as e: