X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=source%2Fcomponent.cpp;h=e8fdd5806dfacd341a06b8bd2a1081b465bbf7c2;hp=bebe3f7790f4c6b20d874a6208e40583f2d6f083;hb=07b4577de51f6be74e6aec6221d850793296e68e;hpb=4e2a160d94ca808cfb511cc2d38e115d989809f2 diff --git a/source/component.cpp b/source/component.cpp index bebe3f7..e8fdd58 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -110,7 +110,9 @@ Component::SourceList Component::collect_source_files() const continue; overlay_files.insert(*k); } - files.push_back(*j / *k); + FS::Path fn = *j / *k; + if(!FS::is_dir(fn)) + files.push_back(fn); } } }