mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
- do not add .cvsignore to the tests package
This commit is contained in:
parent
68ff190aaa
commit
33d110f8f8
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue