Skip to content

Commit

Permalink
For some reason when running from an uberjar, it's on the cp twice.
Browse files Browse the repository at this point in the history
Fixes #1554.
  • Loading branch information
technomancy committed Jun 10, 2014
1 parent 732234a commit da00e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/release.clj
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ bump. If none is given, it defaults to :patch."
;; https://github.com/technomancy/leiningen/issues/1544
(when-let [[resource] (-> (.getContextClassLoader (Thread/currentThread))
(.getResources "leiningen/release.clj")
(enumeration-seq) (rest) (seq))]
(enumeration-seq) (distinct) (rest) (seq))]
(clojure.lang.Compiler/load (io/reader resource)
"leiningen/release.clj" (str resource)))

0 comments on commit da00e75

Please sign in to comment.