tools: fix `v symlink` problem with paths containing spaces (#10756)
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