Skip to content

Commit 49d910b

Browse files
author
fernandogelin
committed
fix(build): reset and add rm again
1 parent ec04ae5 commit 49d910b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deps/build.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ function symlink_user_bin(path_::AbstractString)
1313
@warn bin_path
1414
run(`setx path "%path%;$bin_path"`)
1515
else
16-
symlink(path_, "/usr/local/bin/$exec")
17-
@warn "Created symlink: /usr/local/bin/viva -> $path_"
16+
ln = "/usr/local/bin/$exec"
17+
rm(ln, force=true)
18+
symlink(path_, ln)
19+
@warn "Created symlink: $ln -> $path_"
1820
end
1921
end
2022

0 commit comments

Comments
 (0)