Permalink
Browse files

Fix uberjar for Leiningen itself.

  • Loading branch information...
1 parent f0e9d31 commit c788f401ac04b3a7b4ba274bc9c998c80419a42b @technomancy committed Jun 26, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/deps.clj
View
@@ -135,7 +135,8 @@
(copy-dependencies (:jar-behavior project)
;; Leiningen's process only has access to lib/dev.
(if (or (= :dev-dependencies deps-set)
- (:eval-in-leiningen project))
+ (and (:eval-in-leiningen project)
+ (not= "leiningen" (:name project))))
(str (:root project) "/lib/dev")
(:library-path project))
true (.getReference lancet/ant-project

0 comments on commit c788f40

Please sign in to comment.