]> granicus.if.org Git - php/commitdiff
- do not add .cvsignore to the tests package
authorPierre Joye <pajoye@php.net>
Sat, 13 Dec 2008 11:46:23 +0000 (11:46 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 13 Dec 2008 11:46:23 +0000 (11:46 +0000)
win32/build/mkdist.php

index 1d63db40e76cba7442a282a9c1a9da8f7ca39353..f93355987ecca9ad1391b7347dce08c89ecebbcb 100644 (file)
@@ -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;