]> sipb.mit.edu Git - ikiwiki.git/commitdiff
remove WRAPPED_OPTIONS once loaded
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 6 Aug 2008 00:11:32 +0000 (20:11 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 6 Aug 2008 00:11:32 +0000 (20:11 -0400)
This makes reentrant ikiwiki calls from wrappers work.

ikiwiki.in

index beb4052273d496c23bf33ba8080feff469407a6e..ddbd710568d67d61cd3aecd3c9970b298e514edf 100755 (executable)
@@ -105,6 +105,7 @@ sub getconfig () { #{{{
                if ($@) {
                        error("WRAPPED_OPTIONS: $@");
                }
+               delete $ENV{WRAPPED_OPTIONS};
                loadplugins();
                checkconfig();
        }