jtakakura / asdf-odin

Odin plugin for the asdf version manager github.com/asdf-vm/asdf
https://github.com/asdf-vm/asdf
MIT License
9 stars 7 forks source link

fix download for odin version dev-2024-07 #8

Closed hpb0412 closed 3 months ago

hpb0412 commented 3 months ago

Fix as reported here: https://github.com/jtakakura/asdf-odin/issues/7

Explanation:

This command mv "$ASDF_DOWNLOAD_PATH"/dist/* "$ASDF_DOWNLOAD_PATH", it moves all children to the parent directory and left the /dist available and empty.

Therefore, removing the /dist will eliminate all unwanted side effects.

achou11 commented 3 months ago

Tried out this patch under the same conditions that I encountered the original issue with, and looks like it fixes it 👍

jtakakura commented 3 months ago

Thank you for your PR. I made another simple fix, so I will close this PR.