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

vup: change dir correctly

This commit is contained in:
Alexey 2019-12-24 05:44:22 +03:00 committed by Alexander Medvednikov
parent 96fa15c125
commit 9dd05474b0

View File

@ -7,7 +7,7 @@ import (
fn main() {
println('Updating V...')
vroot := os.getenv('VEXE')
vroot := filepath.dir(os.getenv('VEXE'))
os.chdir(vroot)
s := os.exec('git -C "$vroot" pull --rebase origin master') or { panic(err) }
println(s.output)