From: Pierre Joye Date: Sat, 13 Dec 2008 11:46:23 +0000 (+0000) Subject: - do not add .cvsignore to the tests package X-Git-Tag: php-5.3.0beta1~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33d110f8f8fb7e5d80d618b51e8f79f1b91b0c46;p=php - do not add .cvsignore to the tests package --- diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index 1d63db40e7..f93355987e 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;