vup: change dir correctly
parent
96fa15c125
commit
9dd05474b0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue