diff --git a/core/modules/commands/rendertiddlers.js b/core/modules/commands/rendertiddlers.js index 60c5b8702..782459e44 100644 --- a/core/modules/commands/rendertiddlers.js +++ b/core/modules/commands/rendertiddlers.js @@ -35,7 +35,8 @@ Command.prototype.execute = function() { wiki = this.commander.wiki, filter = this.params[0], template = this.params[1], - pathname = path.resolve(this.commander.outputPath,this.params[2]), + outputPath = this.commander.outputPath, + pathname = path.resolve(outputPath,this.params[2]), type = this.params[3] || "text/html", extension = this.params[4] || ".html", deleteDirectory = (this.params[5] || "") != "noclean",