aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-05 20:11:32 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-05 20:11:32 -0400
commit9802fbee404cc20027634eba7f58b78c569b7c5f (patch)
treec79500410e493af7030ef787f18522a1a8330a54 /ikiwiki.in
parent83888b75f10668df39c3a1e520e7748385bab9df (diff)
downloadikiwiki-9802fbee404cc20027634eba7f58b78c569b7c5f.tar
ikiwiki-9802fbee404cc20027634eba7f58b78c569b7c5f.tar.gz
remove WRAPPED_OPTIONS once loaded
This makes reentrant ikiwiki calls from wrappers work.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index beb405227..ddbd71056 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -105,6 +105,7 @@ sub getconfig () { #{{{
if ($@) {
error("WRAPPED_OPTIONS: $@");
}
+ delete $ENV{WRAPPED_OPTIONS};
loadplugins();
checkconfig();
}