diff --git a/source/dub/dub.d b/source/dub/dub.d index f12d710..38f028a 100644 --- a/source/dub/dub.d +++ b/source/dub/dub.d @@ -73,6 +73,8 @@ } else version(Posix){ m_systemDubPath = Path("/var/lib/dub/"); m_userDubPath = Path(environment.get("HOME")) ~ ".dub/"; + if(!m_userDubPath.absolute) + m_userDubPath = Path(getcwd()) ~ m_userDubPath; m_tempPath = Path("/tmp"); }