X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=e8fdd5806dfacd341a06b8bd2a1081b465bbf7c2;hb=07b4577de51f6be74e6aec6221d850793296e68e;hp=2bfa736e14ea2dc7663fcae75b5f6f8c3329395a;hpb=e3407687a61bce56912b89818a9d9f006e9da41f;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index 2bfa736..e8fdd58 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -2,8 +2,7 @@ #include #include #include -#include -#include +#include #include "builder.h" #include "component.h" #include "sourcepackage.h" @@ -111,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); } } }