From 1f5e20c33ef5c2e83779566fb4699929b91c98a5 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Tue, 23 Jun 2009 01:37:23 +0000 Subject: MFH: * Fix deprecation warning when building deplister * Fix some mkdir warnings if "nmake build-dist" is executed twice --- win32/build/mkdist.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'win32/build/mkdist.php') diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index 6a795f9b64..c92028dd85 100644 --- a/win32/build/mkdist.php +++ b/win32/build/mkdist.php @@ -381,7 +381,9 @@ function copy_test_dir($directory, $dest) $full_path = $directory . '/' . $file; if($file != '.' && $file != '..' && $file != 'CVS' && is_dir($full_path)) { if ($file == 'tests') { - mkdir($dest . '/' . $full_path , 0775, true); + if (!is_dir($dest . '/' . $full_path)) { + mkdir($dest . '/' . $full_path , 0775, true); + } copy_dir($full_path, $dest . '/' . $full_path . '/'); continue; } else { -- cgit v1.2.1