1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
joe-conigliaro 2019-09-19 20:11:25 +10:00 committed by Alexander Medvednikov
parent a94c1556ce
commit 153c6d5416

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
} }