Commits

Meikel Brandmeyer  committed cb803bd

Escape backslashes in path names

Fixes #20

  • Participants
  • Parent commits 346bd82

Comments (0)

Files changed (1)

File 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"
         )