diff --git a/source/dub/package_.d b/source/dub/package_.d index 4814497..c2d83b1 100644 --- a/source/dub/package_.d +++ b/source/dub/package_.d @@ -247,10 +247,10 @@ /// Returns all sources as absolute paths. @property const(Path[]) sources() const { Path[] allSources; - autp sourcePath = Path("source"); + auto sourcePath = Path("source"); auto customSourcePath = "sourcePath" in m_meta; if(customSourcePath) - sourcePath = customSourcePath.get!string(); + sourcePath = Path(customSourcePath.get!string()); foreach(d; dirEntries((m_path ~ sourcePath).toNativeString(), "*.d", SpanMode.depth)) allSources ~= Path(d.name); return allSources;