Runroot: Fix a issue caused by restructured headers
(cherry picked from commit 8134fc8552f838d571dd6b21fe707ca02ea2c112)
diff --git a/src/traffic_layout/file_system.cc b/src/traffic_layout/file_system.cc
index a1f0540..6b94034 100644
--- a/src/traffic_layout/file_system.cc
+++ b/src/traffic_layout/file_system.cc
@@ -243,7 +243,8 @@
}
if (copy_dir == LAYOUT_INCLUDEDIR) {
// check if include file is contained in atscppapi/ and ts/. If not, end the copying.
- if (dst_path.find("/atscppapi/") == std::string::npos && dst_path.find("/ts/") == std::string::npos) {
+ if (dst_path.find("/atscppapi/") == std::string::npos && dst_path.find("/ts/") == std::string::npos &&
+ dst_path.find("/tscpp/") == std::string::npos) {
break;
}
}