Commits

Meikel Brandmeyer committed cb803bd

Escape backslashes in path names

Fixes #20

Comments (0)

Files changed (1)

src/main/groovy/clojuresque/ClojureCompileTask.groovy

         String cmd = String.format(
             this.class.getResourceAsStream("ClojureCompileDriver.clj").text,
             source.collect {
-                String.format("(java.io.File. \"%s\")", it.path)
+                String.format("(java.io.File. \"%s\")",
+                    it.path.replace("\\", "\\\\"))
             }.join(" "),
             project.aotCompile ? "compile" : "require"
         )