mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:57 +01:00
small fixes
This commit is contained in:
parent
66b10eaad0
commit
9647798988
@ -39,7 +39,7 @@ $config = array(
|
||||
'obs' => false,
|
||||
'changelog' => false, // eg. '* 1. Zeile\n* 2. Zeile' for debian.changes
|
||||
'changelog_packager' => 'Ralf Becker <rb@stylite.de>',
|
||||
'svntag' => 'Stylite-EPL-$version.$packaging', // eg. '$version.$packaging'
|
||||
'svntag' => 'tags/Stylite-EPL-$version.$packaging', // eg. '$version.$packaging'
|
||||
'skip' => array(),
|
||||
'run' => array('svntag','checkout','copy','virusscan','create','sign')
|
||||
);
|
||||
@ -77,7 +77,7 @@ while(($arg = array_shift($argv)))
|
||||
}
|
||||
else
|
||||
{
|
||||
$config[$name] = array_unique(preg_split('/[ ,]+/',$value));
|
||||
$config[$name] = array_unique(split('[ ,]+',$value));
|
||||
}
|
||||
break;
|
||||
|
||||
@ -150,7 +150,7 @@ function do_obs()
|
||||
++$n;
|
||||
}
|
||||
// updating dsc, spec and changelog files
|
||||
if (substr($path,-4) == '.dsc' || substr($path,-5) == '.spec' ||
|
||||
if (substr($path,-4) == '.dsc' || substr($path,-5) == '.spec' ||
|
||||
!empty($config['changelog']) && basename($path) == 'debian.changes')
|
||||
{
|
||||
$content = $content_was = file_get_contents($path);
|
||||
|
Loading…
Reference in New Issue
Block a user