vup: change dir correctly

pull/3206/head
Alexey 2019-12-24 05:44:22 +03:00 committed by Alexander Medvednikov
parent 96fa15c125
commit 9dd05474b0
1 changed files with 1 additions and 1 deletions

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)