JuliaLang / juliaup

Julia installer and version multiplexer
MIT License
931 stars 81 forks source link

Add workaround as error hint to tmp-not-executable branch #952

Closed LilithHafner closed 2 weeks ago

LilithHafner commented 3 weeks ago

I changed "Install the files to a location..." to "Use a tmp location..." because "the files" being installed are, according to the user, julia and maybe juliaup.

I used a hint instead of a fallback because the hint is less magical and almost as helpful. And because it's easier to implement. I'd be open to this being an automatic fallback when tmp is not executable, but then we'd need to handle cleanup logic as well.

If this PR merges I might make a followup to hint for https://github.com/JuliaLang/juliaup/issues/673, but tbh that feels like a system bug: curl should be able to write to the default tmpdir.

Fixes https://github.com/JuliaLang/juliaup/issues/450 Fixes https://github.com/JuliaLang/juliaup/issues/942