diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); } |