Code Duplication    Length = 4-4 lines in 2 locations

doc/rpm-build/checkout-build-archives.php 2 locations

@@ 324-327 (lines=4) @@
321
			' [email protected]:EGroupware/egroupware.git '.$config['checkoutdir'];
322
		run_cmd($cmd);
323
	}
324
	elseif (!is_dir($config['checkoutdir']) || !is_writable($config['checkoutdir']))
325
	{
326
		throw new Exception("checkout directory '{$config['checkoutdir']} exists and is NO directory or NOT writable!");
327
	}
328
	chdir($config['checkoutdir']);
329
330
	run_cmd('./install-php --ignore-platform-reqs --no-dev');
@@ 1169-1172 (lines=4) @@
1166
	{
1167
		mkdir($config['checkoutdir'],0755,true);
1168
	}
1169
	elseif (!is_dir($config['checkoutdir']) || !is_writable($config['checkoutdir']))
1170
	{
1171
		throw new Exception("svn checkout directory '{$config['checkoutdir']} exists and is NO directory or NOT writable!");
1172
	}
1173
	chdir($config['checkoutdir']);
1174
1175
	// do we use a just created tag --> list of taged modules