Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harmonize AMM_DOWNLOAD_PATH from amm-template.sh with MILL_DOWNLOAD_PATH from mill script #1579

Open
cmontemuino opened this issue Nov 1, 2024 · 0 comments · May be fixed by #1580
Open

Comments

@cmontemuino
Copy link

The suggestion is to refactor the download path used in https://github.com/com-lihaoyi/Ammonite/blob/main/amm-template.sh#L17

AMM_DOWNLOAD_PATH="$HOME/.ammonite/download"

with what's in the mill script in https://github.com/com-lihaoyi/Ammonite/blob/main/mill#L25-L29:

if [ "x${XDG_CACHE_HOME}" != "x" ] ; then
  MILL_DOWNLOAD_PATH="${XDG_CACHE_HOME}/mill/download"
else
  MILL_DOWNLOAD_PATH="${HOME}/.cache/mill/download"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant