aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 05c7a84..8df369e 100644
--- a/wscript
+++ b/wscript
@@ -314,6 +314,10 @@ def build_index(task):
rows += rowfile.readlines()
rowfile.close()
+ if date is None:
+ import datetime
+ date = datetime.datetime.now().isoformat()
+
subst_file(task.inputs[0].abspath(), task.outputs[0].abspath(),
{ '@ROWS@': ''.join(rows),
'@LV2_VERSION@': VERSION,