1
0
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:
Thomas Treffner 2021-07-11 17:54:24 +02:00 committed by GitHub
parent c65bfc122d
commit 533f09f7a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {