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