From b4b294b79aa094ca1eeaef703c20df38477ecac1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 21 Jul 2009 06:30:40 +0000 Subject: [PATCH] fixed not working --run -name or --run +name --- doc/rpm-build/checkout-build-archives.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index e4d562fde2..e83966a8e5 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -63,11 +63,11 @@ while(($arg = array_shift($argv))) case 'run': if ($value[0] == '+') { - $config[$name] = array_unique(array_merge($config['name'],preg_split('/[ ,]+/',$value))); + $config[$name] = array_unique(array_merge($config[$name],preg_split('/[ ,]+/',$value))); } elseif ($value[0] == '-') { - $config[$name] = array_diff($config['name'],preg_split('/[ ,]+/',$value)); + $config[$name] = array_diff($config[$name],preg_split('/[ ,]+/',$value)); } else {