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

all: update chdir usages

This commit is contained in:
Alexander Medvednikov
2021-08-28 09:39:18 +03:00
parent 853d3cb83e
commit 29f550158e
4 changed files with 4 additions and 4 deletions

View File

@ -444,7 +444,7 @@ pub fn building_any_v_binaries_failed() bool {
vexe := pref.vexe_path()
parent_dir := os.dir(vexe)
vlib_should_be_present(parent_dir)
os.chdir(parent_dir)
os.chdir(parent_dir) or { panic(err) }
mut failed := false
v_build_commands := ['$vexe -o v_g -g cmd/v', '$vexe -o v_prod_g -prod -g cmd/v',
'$vexe -o v_cg -cg cmd/v', '$vexe -o v_prod_cg -prod -cg cmd/v',