diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py
index 8f1291ef5f843398af93803fce04c17d617e9a7f..88329190f7fbfa07e7b8c6ee9e01067d479df22e 100755
--- a/product/ERP5/Tool/TemplateTool.py
+++ b/product/ERP5/Tool/TemplateTool.py
@@ -234,8 +234,9 @@ class TemplateTool (BaseTool):
       if os.path.isdir(name): # new version of business template in plain format (folder)
         file_list = []
         def callback(arg, directory, files):
-          for file in files:
-            file_list.append(os.path.join(directory, file))
+          if 'CVS' not in directory:
+            for file in files:
+              file_list.append(os.path.join(directory, file))
 
         os.path.walk(name, callback, None)        
         file_list.sort()