From 3af700d9507e9f60e81f75702d8722744622438d Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 16 Oct 2020 15:05:57 +0300 Subject: [PATCH] vself: fix `v self` (it compiled to cmd/v/v without -o) --- cmd/tools/vself.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vself.v b/cmd/tools/vself.v index cecbdc7e37..1114b17e50 100644 --- a/cmd/tools/vself.v +++ b/cmd/tools/vself.v @@ -12,7 +12,7 @@ fn main() { self_idx := os.args.index('self') args := os.args[1..self_idx] jargs := args.join(' ') - obinary := cmdline.option(args, '-o', 'v') + obinary := cmdline.option(args, '-o', '') sargs := if obinary != '' { jargs } else { '$jargs -o v2 ' } cmd := '$vexe $sargs cmd/v' options := if args.len > 0 { '($sargs)' } else { '' }