We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec04ae5 commit 49d910bCopy full SHA for 49d910b
deps/build.jl
@@ -13,8 +13,10 @@ function symlink_user_bin(path_::AbstractString)
13
@warn bin_path
14
run(`setx path "%path%;$bin_path"`)
15
else
16
- symlink(path_, "/usr/local/bin/$exec")
17
- @warn "Created symlink: /usr/local/bin/viva -> $path_"
+ ln = "/usr/local/bin/$exec"
+ rm(ln, force=true)
18
+ symlink(path_, ln)
19
+ @warn "Created symlink: $ln -> $path_"
20
end
21
22
0 commit comments