vup: change dir correctly
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