From ba346ab68b40002b2758b5962163bb039ae14add Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 20 Jul 2009 07:30:34 +0000 Subject: [PATCH] "replaced split with preg_split" --- 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 0425ce6b14..e4d562fde2 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'],split('[ ,]+',$value))); + $config[$name] = array_unique(array_merge($config['name'],preg_split('/[ ,]+/',$value))); } elseif ($value[0] == '-') { - $config[$name] = array_diff($config['name'],split('[ ,]+',$value)); + $config[$name] = array_diff($config['name'],preg_split('/[ ,]+/',$value)); } else {