From: Mikko Rasa Date: Thu, 5 Jan 2017 23:02:52 +0000 (+0200) Subject: Only use source files that are actually files X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=07b4577de51f6be74e6aec6221d850793296e68e;p=builder.git Only use source files that are actually files And not, say, directories. --- 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); } } }