summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class5
1 files changed, 4 insertions, 1 deletions
diff --git a/it.class b/it.class
index c09a235..bd024a2 100644
--- a/it.class
+++ b/it.class
@@ -633,7 +633,10 @@ static function cexec(/* $cmd, $values1 = array(), ... */)
*/
static function cdist(/* $file1, ... */)
{
- return it::exec('cdist {FILES}', 'FILES' => func_get_args());
+ foreach (func_get_args() as $arg)
+ $files = array_merge((array)$files, (array)$arg);
+
+ return it::exec('cdist {FILES}', 'FILES' => $files);
}