From: Alan Knowles Date: Mon, 5 Sep 2011 05:44:02 +0000 (+0800) Subject: RunGenerator.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=45ab1fd2f635d6776507c35e552cfa7e258d1220 RunGenerator.php --- diff --git a/RunGenerator.php b/RunGenerator.php index 9653fe57..4bcb0cfb 100644 --- a/RunGenerator.php +++ b/RunGenerator.php @@ -74,8 +74,9 @@ class Pman_Core_RunGenerator extends Pman $modules = is_string($opts['modules']) ? array($opts['modules']) : $opts['modules']; - - $x->start($this->cli, $modules, $lastarg); + $overwrite = is_string($opts['overwrite']) ? array($opts['overwrite']) : $opts['overwrite']; + + $x->start($this->cli, $modules, overwrite); // technically it would be good to trash the cached ini files here.. // however we can not really do that, as the ownships are off..