From fa99402314d703f87a1f6d9db85535b887625f74 Mon Sep 17 00:00:00 2001 From: FoXy <12250394+FIREFOXCYBER@users.noreply.github.com> Date: Tue, 6 Aug 2019 23:40:52 +0430 Subject: [PATCH] VGet: Fix for dot folder name import --- tools/vget.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/vget.v b/tools/vget.v index ee84dc4dc2..29e0c9df12 100644 --- a/tools/vget.v +++ b/tools/vget.v @@ -30,12 +30,12 @@ fn main() { return } home := os.home_dir() - if !os.dir_exists(home + '/.vmodules') { + if !os.dir_exists(home + '/.vmodules') { println('Creating vmodules directory...') os.chdir(home) os.mkdir('.vmodules') println('Done.') } - os.exec('git -C "$home/.vmodules" clone --depth=1 $mod.url $mod.name') + os.exec('git -C "$home/.vmodules" clone --depth=1 $mod.url ' + mod.name.replace('.', '/')) println(s) }