From: Joey Hess Date: Wed, 6 Aug 2008 00:11:32 +0000 (-0400) Subject: remove WRAPPED_OPTIONS once loaded X-Git-Tag: 2.60~42 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9802fbee404cc20027634eba7f58b78c569b7c5f?ds=sidebyside;hp=83888b75f10668df39c3a1e520e7748385bab9df remove WRAPPED_OPTIONS once loaded This makes reentrant ikiwiki calls from wrappers work. --- 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(); }