From 45ab1fd2f635d6776507c35e552cfa7e258d1220 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 5 Sep 2011 13:44:02 +0800 Subject: [PATCH] RunGenerator.php --- RunGenerator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.. -- 2.39.2