]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mirrortree.py
Move langdefs.py to python, and clean up doc building scripts
[lilypond.git] / buildscripts / mirrortree.py
index 507d56639ae8ad1723073abbd9c184f991722943..0aa0bc881270f2cf6e3263d2e904ab51dbe407c2 100644 (file)
@@ -41,7 +41,7 @@ def walk_tree (tree_roots = [],
         for current_dir, dirs, files in os.walk(d):
             i = 0
             while i < len(dirs):
-                if exclude_dirs_re.search (dirs[i]):
+                if exclude_dirs_re.search (os.path.join (current_dir, dirs[i])):
                     del dirs[i]
                 else:
                     p = os.path.join (current_dir, dirs[i])