Welcome! Please see the About page for a little more info on how this works.

0 votes
in Tools by

If the CLI tools installer is run with --prefix clojure-tools then the tools will be installed into ./clojure-tools and then subsequently deleted. This is because "clojure-tools" is the name of a temporary folder created by the installer.

This is a corner case, but it had me scratching my head for a few minutes and is a potential source of frustration when someone is just starting to use Clojure. Clojure-tools is a reasonable name for the CLI install if you're just trying out clojure and want to e.g. install into your home directory just to have a look at clojure.

Suggested fixes
Name the temp dir temp-something, or use mktemp
Add a check that prefix <> temp dir name

1 Answer

0 votes
by
...