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.
2 parents bf6727c + 49d910b commit 0b65ee2Copy full SHA for 0b65ee2
deps/build.jl
@@ -13,10 +13,10 @@ function symlink_user_bin(path_::AbstractString)
13
@warn bin_path
14
run(`setx path "%path%;$bin_path"`)
15
else
16
- bin_exec_path = "/usr/local/bin/$exec"
17
- rm(bin_exec_path, force=true)
18
- symlink(path_, bin_exec_path)
19
- @warn "Created symlink: /usr/local/bin/viva -> $path_"
+ ln = "/usr/local/bin/$exec"
+ rm(ln, force=true)
+ symlink(path_, ln)
+ @warn "Created symlink: $ln -> $path_"
20
end
21
22
0 commit comments