tools: fix `v symlink` problem with paths containing spaces (#10756)

pull/10770/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fn setup_symlink_unix(vexe string) {
} }
link_path = link_dir + '/v' 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 { if ret.exit_code == 0 {
println('Symlink "$link_path" has been created') println('Symlink "$link_path" has been created')
} else { } else {