tools: fix the batch script for `v symlink`, if the vexe path contains spaces on windows (#12443)

pull/12447/head
MrsHerobrine 2021-11-12 09:29:57 +01:00 committed by GitHub
parent fcecf527ec
commit 1c17ba82ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ fn setup_symlink_windows(vexe string) {
if os.exists(vsymlink) {
os.rm(vsymlink) or { panic(err) }
}
os.write_file(vsymlink, '@echo off\n$vexe %*') or { panic(err) }
os.write_file(vsymlink, '@echo off\n"$vexe" %*') or { panic(err) }
eprintln('$vsymlink file written.')
}
if !os.exists(vsymlink) {