mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix v symlink
problem with paths containing spaces (#10756)
This commit is contained in:
parent
c65bfc122d
commit
533f09f7a2
@ -31,7 +31,7 @@ fn setup_symlink_unix(vexe string) {
|
||||
}
|
||||
link_path = link_dir + '/v'
|
||||
}
|
||||
ret := os.execute_or_panic('ln -sf $vexe $link_path')
|
||||
ret := os.execute('ln -sf "$vexe" "$link_path"')
|
||||
if ret.exit_code == 0 {
|
||||
println('Symlink "$link_path" has been created')
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user