tools: fix the batch script for `v symlink`, if the vexe path contains spaces on windows (#12443)
parent
fcecf527ec
commit
1c17ba82ac
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue