]> Dogcows Code - chaz/vimcoder/blobdiff - src/com/dogcows/Editor.java
do not overwrite makefiles while opening a problem
[chaz/vimcoder] / src / com / dogcows / Editor.java
index ff38a0ff4df175efde211fe7dd050fa3be86cd91..eca84208ad675a66706995396744d2d821845537 100644 (file)
@@ -164,6 +164,7 @@ public class Editor
 
                // Finally, expand the Makefile template and write it.
                File makeFile = new File(directory, "Makefile");
+               if (!makeFile.canRead())
                {
                        String text = Util.expandTemplate(readTemplate(lang + "Makefile"),
                                                                                          terms);
This page took 0.017881 seconds and 4 git commands to generate.