vup: add quotes for the people with weird V paths (#6393)
parent
6f7bb30b0a
commit
a984f9cf97
|
@ -36,7 +36,7 @@ fn main() {
|
|||
app.backup('cmd/tools/vup.exe')
|
||||
}
|
||||
app.recompile_v()
|
||||
os.exec('$app.vexe cmd/tools/vup.v') or {
|
||||
os.exec('"$app.vexe" cmd/tools/vup.v') or {
|
||||
panic(err)
|
||||
}
|
||||
app.show_current_v_version()
|
||||
|
@ -61,7 +61,7 @@ fn (app App) update_from_master() {
|
|||
|
||||
fn (app App) recompile_v() {
|
||||
// NB: app.vexe is more reliable than just v (which may be a symlink)
|
||||
vself := '$app.vexe self'
|
||||
vself := '"$app.vexe" self'
|
||||
if app.is_verbose {
|
||||
println('> recompiling v itself with `$vself` ...')
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ fn (app App) make(vself string) {
|
|||
|
||||
fn (app App) show_current_v_version() {
|
||||
println('Current V version:')
|
||||
os.system('$app.vexe version')
|
||||
os.system('"$app.vexe" version')
|
||||
}
|
||||
|
||||
fn (app App) backup(file string) {
|
||||
|
|
Loading…
Reference in New Issue