diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-05 20:11:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-05 20:11:32 -0400 |
commit | 9802fbee404cc20027634eba7f58b78c569b7c5f (patch) | |
tree | c79500410e493af7030ef787f18522a1a8330a54 | |
parent | 83888b75f10668df39c3a1e520e7748385bab9df (diff) |
remove WRAPPED_OPTIONS once loaded
This makes reentrant ikiwiki calls from wrappers work.
-rwxr-xr-x | ikiwiki.in | 1 |
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(); } |