From 78384ba6da8b9124fa155228eb429c22f6a9349c Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Mon, 27 Dec 2010 12:46:20 -0800 Subject: [PATCH] Fix condition in native-path calculation. Thanks to wburke. --- src/leiningen/compile.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leiningen/compile.clj b/src/leiningen/compile.clj index d912eb752..a5df0ffae 100644 --- a/src/leiningen/compile.clj +++ b/src/leiningen/compile.clj @@ -184,7 +184,7 @@ (when native-path (add-system-property java "java.library.path" (cond - (= file (class native-path)) + (instance? java.io.File native-path) (.getAbsolutePath native-path) (fn? native-path) (native-path) :default native-path)))