I'm dumb.

This commit is contained in:
Phil Hagelberg 2011-06-08 17:06:06 -07:00
parent 30ef8ed027
commit 20560f2eb8

View file

@ -120,7 +120,7 @@
(doseq [child (file-seq (file (:path spec)))]
(let [path (reduce trim-leading-str (unix-path (str child))
[root resources classes src "/"])]
(when-not (skip-file? child path (:jar-exclusions project [#"^."]))
(when-not (skip-file? child path (:jar-exclusions project [#"^\."]))
(.putNextEntry jar-os (doto (JarEntry. path)
(.setTime (.lastModified child))))
(copy child jar-os))))))