aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-08-28 19:08:09 -0700
committerJoey Hess <joey@kitenet.net>2014-08-28 19:08:09 -0700
commit40d6ccbadbb080090c2551d0ba6a6be4b4abe85e (patch)
tree7eff7325d0d3e5e1aab3fa574354ee3fb77e9e7c /IkiWiki.pm
parent1c89ba2995c25bdbc70b594ab569da1842d33ec8 (diff)
downloadikiwiki-40d6ccbadbb080090c2551d0ba6a6be4b4abe85e.tar
ikiwiki-40d6ccbadbb080090c2551d0ba6a6be4b4abe85e.tar.gz
Make --no-gettime work in initial build. Closes: #755075
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index e5da04a3b..cd4ac815d 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1819,7 +1819,8 @@ sub loadindex () {
open ($in, "<", "$config{wikistatedir}/indexdb") || return;
}
else {
- $config{gettime}=1; # first build
+ # gettime on first build
+ $config{gettime}=1 unless defined $config{gettime};
return;
}
}