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:
parent
96fa15c125
commit
9dd05474b0
@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println('Updating V...')
|
println('Updating V...')
|
||||||
vroot := os.getenv('VEXE')
|
vroot := filepath.dir(os.getenv('VEXE'))
|
||||||
os.chdir(vroot)
|
os.chdir(vroot)
|
||||||
s := os.exec('git -C "$vroot" pull --rebase origin master') or { panic(err) }
|
s := os.exec('git -C "$vroot" pull --rebase origin master') or { panic(err) }
|
||||||
println(s.output)
|
println(s.output)
|
||||||
|
Loading…
Reference in New Issue
Block a user