mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vpm: change hardcoded ~/.vmodules/ (does not work on windows)
This commit is contained in:
parent
b99ba21ddd
commit
3521c9045b
@ -300,7 +300,7 @@ and the existing module `${modulename}` may still work.')
|
|||||||
if is_verbose {
|
if is_verbose {
|
||||||
eprintln('check_module_is_installed: cloning from $murl ...')
|
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')
|
return error('git is not installed, error: $err')
|
||||||
}
|
}
|
||||||
if cloning_res.exit_code != 0 {
|
if cloning_res.exit_code != 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user