]> git.tdb.fi Git - builder.git/blobdiff - source/component.cpp
Only use source files that are actually files
[builder.git] / source / component.cpp
index bebe3f7790f4c6b20d874a6208e40583f2d6f083..e8fdd5806dfacd341a06b8bd2a1081b465bbf7c2 100644 (file)
@@ -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);
                                }
                        }
                }