Skip to content

Commit b50d9f0

Browse files
committed
uber - when exploding files on windows, unixize file paths
1 parent 9671e03 commit b50d9f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/clojure/clojure/tools/build/tasks

src/main/clojure/clojure/tools/build/tasks/uber.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
(throw (ex-info (str "Uber task found file but can't read its content in " lib " at path " (.getPath f))
199199
{:path (.getPath f)} e)))))
200200
new-state (try
201-
(let [path (.toString (.relativize source-path (.toPath f)))
201+
(let [path (str/replace (.toString (.relativize source-path (.toPath f))) \\ \/)
202202
source-time (FileTime/fromMillis (.lastModified f))
203203
out-file (jio/file out-dir path)]
204204
(explode1 is path (.isDirectory f) source-time out-file lib context the-state))

0 commit comments

Comments
 (0)