Index: third_party/libxslt/win32/configure.js |
diff --git a/third_party/libxslt/win32/configure.js b/third_party/libxslt/win32/configure.js |
index 64c07750e890a05109b323c398a64cd08e1fc993..7f2f854827b94c8f6ce5fcb60c207507fcfd0099 100644 |
--- a/third_party/libxslt/win32/configure.js |
+++ b/third_party/libxslt/win32/configure.js |
@@ -461,13 +461,7 @@ var fso = new ActiveXObject("Scripting.FileSystemObject"); |
var makefile = ".\\Makefile.msvc"; |
if (compiler == "mingw") |
makefile = ".\\Makefile.mingw"; |
-var new_makefile = ".\\Makefile"; |
-var f = fso.FileExists(new_makefile); |
-if (f) { |
- var t = fso.GetFile(new_makefile); |
- t.Attributes =0; |
-} |
-fso.CopyFile(makefile, new_makefile, true); |
+fso.CopyFile(makefile, ".\\Makefile", true); |
WScript.Echo("Created Makefile."); |
// Create the config.h. |
var confighsrc = "..\\libxslt\\win32config.h"; |