You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/09/13 21:56:33 UTC

[trafficserver] branch master updated: Runroot: Fix a issue caused by restructured headers

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 8134fc8  Runroot: Fix a issue caused by restructured headers
8134fc8 is described below

commit 8134fc8552f838d571dd6b21fe707ca02ea2c112
Author: Xavier Chi <ch...@gmail.com>
AuthorDate: Thu Sep 13 13:38:32 2018 -0500

    Runroot: Fix a issue caused by restructured headers
---
 src/traffic_layout/file_system.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 @@ ts_copy_function(const char *src_path, const struct stat *sb, int flag)
     }
     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;
       }
     }