summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-05-26 04:26:35 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-05-26 04:26:35 +0000
commit7e8a7fc598aeef4ad6b140562084423fc47a799d (patch)
treebf29fcdbc011fe5d805c46fc7afc4ae2295a9974 /src
parentc1bc7cbafcfbda6cef8906807004e94808ff693d (diff)
Make sure the .svn folder is removed when checking src/modules for subdirectories, spotted by DukePyrolator.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2303 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/modules/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt
index e6cec6ff9..df0525615 100644
--- a/src/modules/CMakeLists.txt
+++ b/src/modules/CMakeLists.txt
@@ -55,6 +55,7 @@ endforeach(SRC)
# Get a list of ALL files and directories within the current directory
file(GLOB MODULES_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*")
+remove_item_from_list(MODULE_FILES ".svn")
# Iterate through this directory searching for subdirectories, and creating modules for those subdirectories
foreach(FILE ${MODULES_FILES})