Skip to content

Commit

Permalink
BUG: Remote hidden file regex was incorrect
Browse files Browse the repository at this point in the history
First, the remote module glob produces full file names.

Second, the regex was excluing all remote modules.

I tested the new regexp with a hidden file and it works.
  • Loading branch information
lorensen committed Dec 12, 2018
1 parent 2cb1ab3 commit 0a90fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Remote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(vtkModuleRemote)

file(GLOB remotes "*.remote.cmake")
foreach(remote_module ${remotes})
if (remote_module MATCHES "^\.")
if (remote_module MATCHES "/\\.")
continue ()
endif ()
include(${remote_module})
Expand Down

0 comments on commit 0a90fe9

Please sign in to comment.