- do not add .cvsignore to the tests package

This commit is contained in:
Pierre Joye 2008-12-13 11:46:23 +00:00
parent 68ff190aaa
commit 33d110f8f8

View file

@ -322,7 +322,6 @@ foreach ($pecl_dll_deps as $dll) {
} }
copy($dll, "$pecl_dir/" . basename($dll)); copy($dll, "$pecl_dir/" . basename($dll));
} }
function copy_dir($source, $dest) function copy_dir($source, $dest)
{ {
if (!is_dir($dest)) { if (!is_dir($dest)) {
@ -333,7 +332,7 @@ function copy_dir($source, $dest)
$d = opendir($source); $d = opendir($source);
while (($f = readdir($d)) !== false) { while (($f = readdir($d)) !== false) {
if ($f == '.' || $f == '..' || $f == 'CVS') { if ($f == '.' || $f == '..' || $f == 'CVS' || $f == '.cvsignore') {
continue; continue;
} }
$fs = $source . '/' . $f; $fs = $source . '/' . $f;
@ -398,7 +397,6 @@ $dirs = array(
foreach ($dirs as $dir) { foreach ($dirs as $dir) {
copy_test_dir($dir, $test_dir); copy_test_dir($dir, $test_dir);
} }
/* change this next line to true to use good-old /* change this next line to true to use good-old
* hand-assembled go-pear-bundle from the snapshot template */ * hand-assembled go-pear-bundle from the snapshot template */
$use_pear_template = true; $use_pear_template = true;