Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 322-325 (lines=4) @@
319
		run_cmd($cmd);
320
		run_cmd('mr up');	// need to run mr up twice for new checkout, because chained .mrconfig wont run first time (because not there yet!)
321
	}
322
	elseif (!is_dir($config['checkoutdir']) || !is_writable($config['checkoutdir']))
323
	{
324
		throw new Exception("svn checkout directory '{$config['checkoutdir']} exists and is NO directory or NOT writable!");
325
	}
326
	chdir($config['checkoutdir']);
327
328
	run_cmd('mr up');
@@ 1071-1074 (lines=4) @@
1068
	{
1069
		mkdir($config['checkoutdir'],0755,true);
1070
	}
1071
	elseif (!is_dir($config['checkoutdir']) || !is_writable($config['checkoutdir']))
1072
	{
1073
		throw new Exception("svn checkout directory '{$config['checkoutdir']} exists and is NO directory or NOT writable!");
1074
	}
1075
	chdir($config['checkoutdir']);
1076
1077
	// do we use a just created tag --> list of taged modules