Skip to content

Commit

Permalink
Fix #57: escaping issue with local/root on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Mar 4, 2023
1 parent d4609f5 commit a6eebc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

- [Fix #57: escaping issue with local/root install on Windows](https://github.com/babashka/bbin/issues/57)

## 0.1.9

- [Bump `deps-info` version to `0.1.0`](https://github.com/babashka/bbin/commit/a1291ab9a61996bcafb135ebadc775a3a07f92b0)
Expand Down
4 changes: 2 additions & 2 deletions src/babashka/bbin/scripts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
(def tmp-edn
(doto (fs/file (fs/temp-dir) (str (gensym \"bbin\")))
(spit (str \"{:deps {local/deps {:local/root \\\"\" script-root \"\\\"}}}\"))
(spit (str \"{:deps {local/deps {:local/root \" (pr-str script-root) \"}}}\"))
(fs/delete-on-exit)))
(def base-command
Expand Down Expand Up @@ -173,7 +173,7 @@
(def tmp-edn
(doto (fs/file (fs/temp-dir) (str (gensym \"bbin\")))
(spit (str \"{:deps {local/deps {:local/root \\\"\" script-root \"\\\"}}}\"))
(spit (str \"{:deps {local/deps {:local/root \" (pr-str script-root) \"}}}\"))
(fs/delete-on-exit)))
(def base-command
Expand Down

0 comments on commit a6eebc2

Please sign in to comment.