From 533f09f7a2947fb4553d7cb4ab813fe92884ec34 Mon Sep 17 00:00:00 2001 From: Thomas Treffner Date: Sun, 11 Jul 2021 17:54:24 +0200 Subject: [PATCH] tools: fix `v symlink` problem with paths containing spaces (#10756) --- cmd/tools/vsymlink.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vsymlink.v b/cmd/tools/vsymlink.v index e2714b9251..cd6bb72a40 100644 --- a/cmd/tools/vsymlink.v +++ b/cmd/tools/vsymlink.v @@ -31,7 +31,7 @@ fn setup_symlink_unix(vexe string) { } link_path = link_dir + '/v' } - ret := os.execute_or_panic('ln -sf $vexe $link_path') + ret := os.execute('ln -sf "$vexe" "$link_path"') if ret.exit_code == 0 { println('Symlink "$link_path" has been created') } else {