]> git.donarmstrong.com Git - lilypond.git/commitdiff
Regtest script: Don't walk the share folders.
authorJulien Rioux <jrioux@physics.utoronto.ca>
Sat, 14 Jan 2012 20:49:56 +0000 (15:49 -0500)
committerJulien Rioux <jrioux@physics.utoronto.ca>
Mon, 16 Jan 2012 20:30:22 +0000 (15:30 -0500)
These share folders are copied to the output dir
for safekeeping. The regtest script can skip them.

scripts/build/output-distance.py

index cf213da8b13d0717e80b14ae38ebc1b9f785832b..d9933efa083fe2792bd9b60ff7939400fb907482 100755 (executable)
@@ -842,6 +842,10 @@ class ComparisonData:
             sys.exit(1)
 
         for d in dirs:
+            # don't walk the share folders
+            if d.startswith("share"):
+                continue
+
             d1 = os.path.join (dir1, d)
             d2 = os.path.join (dir2, d)