1 Index: libxml/win32/configure.js 2 =================================================================== 3 --- libxml.orig/win32/configure.js 2010-07-09 14:56:07.769093841 -0700 4 +++ libxml/win32/configure.js 2010-07-09 15:36:48.590268611 -0700 5 @@ -611,7 +611,13 @@ 6 makefile = ".\\Makefile.mingw"; 7 else if (compiler == "bcb") 8 makefile = ".\\Makefile.bcb"; 9 -fso.CopyFile(makefile, ".\\Makefile", true); 10 +var new_makefile = ".\\Makefile"; 11 +var f = fso.FileExists(new_makefile); 12 +if (f) { 13 + var t = fso.GetFile(new_makefile); 14 + t.Attributes = 0; 15 +} 16 +fso.CopyFile(makefile, new_makefile, true); 17 WScript.Echo("Created Makefile."); 18 // Create the config.h. 19 var confighsrc = "..\\include\\win32config.h"; 20