From 3521c9045b7f06eb9626d1a285e3f62ccc5f7748 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 2 Jun 2020 14:36:49 +0300 Subject: [PATCH] vpm: change hardcoded ~/.vmodules/ (does not work on windows) --- vlib/v/util/util.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v index b7ca5e205b..2b39e417d3 100644 --- a/vlib/v/util/util.v +++ b/vlib/v/util/util.v @@ -300,7 +300,7 @@ and the existing module `${modulename}` may still work.') if is_verbose { eprintln('check_module_is_installed: cloning from $murl ...') } - cloning_res := os.exec('git clone $murl ~/.vmodules/$modulename') or { + cloning_res := os.exec('git clone $murl $mpath') or { return error('git is not installed, error: $err') } if cloning_res.exit_code != 0 {