diff --git a/compiler/main.v b/compiler/main.v index 58340c1449..c002318ff4 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -1024,7 +1024,8 @@ fn install_v(args[]string) { } fn (v &V) test_vget() { - ret := os.system('v install nedpals.args') + vexe := os.executable() + ret := os.system('$vexe install nedpals.args') if ret != 0 { println('failed to run v install') exit(1)