mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix the batch script for v symlink
, if the vexe path contains spaces on windows (#12443)
This commit is contained in:
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
Block a user