From 8854ca9311183d41791d0495b083b15a4c5f1ec0 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 16 Dec 2023 11:00:44 +0100 Subject: [PATCH] v1.11.1.1414 --- deps.bat | 2 +- deps.clj | 2 +- resources/DEPS_CLJ_VERSION | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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