From 51b48d3ec1aaf5a49d50c052422f35ef1689ac4c Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 12 Jun 2024 20:08:06 +0200 Subject: [PATCH] fffff --- src/babashka/bbin/scripts/local_file.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babashka/bbin/scripts/local_file.clj b/src/babashka/bbin/scripts/local_file.clj index 581392b..73461f6 100644 --- a/src/babashka/bbin/scripts/local_file.clj +++ b/src/babashka/bbin/scripts/local_file.clj @@ -9,7 +9,7 @@ p/Script (install [_] (let [file-path (str (fs/canonicalize (:script/lib cli-opts) {:nofollow-links true})) - script-deps {:bbin/url (str "file://" file-path)} + script-deps {:bbin/url (str "file://" (fs/unixify file-path))} header {:coords script-deps} script-name (or (:as cli-opts) (common/file-path->script-name file-path)) script-contents (-> (slurp file-path)