nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ald...@apache.org
Subject [01/11] nifi-minifi-cpp git commit: MINIFI-368 exclude hidden files when scanning for src files [Forced Update!]
Date Tue, 12 Sep 2017 17:51:24 GMT
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master 17fe045b4 -> 84f50b517 (forced update)


MINIFI-368 exclude hidden files when scanning for src files

This closes #125.

Signed-off-by: Aldrin Piri <aldrin@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/22f45281
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/22f45281
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/22f45281

Branch: refs/heads/master
Commit: 22f45281ddcbf70a93cf68ae4e186d5d710bd2ea
Parents: eb14080
Author: Andrew I. Christianson <andy@andyic.org>
Authored: Wed Aug 9 11:53:04 2017 -0400
Committer: Aldrin Piri <aldrin@apache.org>
Committed: Tue Sep 12 13:51:03 2017 -0400

----------------------------------------------------------------------
 cmake/BuildTests.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/22f45281/cmake/BuildTests.cmake
----------------------------------------------------------------------
diff --git a/cmake/BuildTests.cmake b/cmake/BuildTests.cmake
index 2502537..29603bf 100644
--- a/cmake/BuildTests.cmake
+++ b/cmake/BuildTests.cmake
@@ -21,7 +21,7 @@ MACRO(GETSOURCEFILES result curdir)
   FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)
   SET(dirlist "")
   FOREACH(child ${children})
-    IF( "${curdir}/${child}" MATCHES .*\\.cpp)
+    IF( "${child}" MATCHES ^[^.].*\\.cpp)
   
       LIST(APPEND dirlist ${child})
     ENDIF()


Mime
View raw message