diff --git a/deps.bat b/deps.bat index ae43039..e32ba8c 100644 --- a/deps.bat +++ b/deps.bat @@ -803,7 +803,7 @@ public class ClojureToolsDownloader { (.getPath (io/file xdg-config-home "clojure"))) (.getPath (io/file config-dir ".cpcache")))] (if (.exists (io/file deps-edn)) - (if (.canWrite (io/file *dir*)) + (if (-> (io/file (or *dir* ".")) (.canWrite)) {:cache-dir (.getPath (io/file *dir* ".cpcache")) :cache-dir-key *dir*} ;; can't write to *dir*/.cpcache diff --git a/deps.clj b/deps.clj index ee3dee0..74269bd 100755 --- a/deps.clj +++ b/deps.clj @@ -798,7 +798,7 @@ public class ClojureToolsDownloader { (.getPath (io/file xdg-config-home "clojure"))) (.getPath (io/file config-dir ".cpcache")))] (if (.exists (io/file deps-edn)) - (if (.canWrite (io/file *dir*)) + (if (-> (io/file (or *dir* ".")) (.canWrite)) {:cache-dir (.getPath (io/file *dir* ".cpcache")) :cache-dir-key *dir*} ;; can't write to *dir*/.cpcache diff --git a/resources/DEPS_CLJ_VERSION b/resources/DEPS_CLJ_VERSION index 72e78e6..57f9ebc 100644 --- a/resources/DEPS_CLJ_VERSION +++ b/resources/DEPS_CLJ_VERSION @@ -1 +1 @@ -1.11.1.1414-SNAPSHOT \ No newline at end of file +1.11.1.1414 \ No newline at end of file