compiler: fix `v up` when run from dir with space in name

pull/2047/head
joe-conigliaro 2019-09-19 20:11:25 +10:00 committed by Alexander Medvednikov
parent a94c1556ce
commit 153c6d5416
1 changed files with 1 additions and 1 deletions

View File

@ -901,7 +901,7 @@ fn update_v() {
os.rm( v_backup_file ) os.rm( v_backup_file )
} }
os.mv('$vroot/v.exe', v_backup_file) os.mv('$vroot/v.exe', v_backup_file)
s2 := os.exec('$vroot/make.bat') or { s2 := os.exec('"$vroot/make.bat"') or {
cerror(err) cerror(err)
return return
} }