also recurse subdirs

This commit is contained in:
Garvin Hicking 2011-12-25 00:33:46 +01:00
parent 3782ea9507
commit 5c26408257

View file

@ -10,7 +10,9 @@ foreach($out AS $file) {
if (preg_match('@^\? @', $file)) {
$file = str_replace('? ', '', $file);
echo "CVS ADD $file\n";
`cvs add $file`;
`cvs add -kk $file`;
`find $file -type d -exec cvs add {} \;`;
`find $file -type f -exec cvs add -kk {} \;`;
} elseif (preg_match('@^U @', $file)) {
$file = str_replace('U ', '', $file);
echo "CVS RM $file\n";