Browse Source

Merge pull request #1037 from hamiltont/travis-1036

Travis-CI: Escape directory name
Hamilton Turner 11 years ago
parent
commit
9c4fe3f1ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/run-ci.py

+ 1 - 1
toolset/run-ci.py

@@ -253,7 +253,7 @@ class CIRunnner:
       return True
       return True
   
   
     # Look for changes relevant to this test
     # Look for changes relevant to this test
-    if re.search("^frameworks/%s/" % self.directory, changes, re.M) is None:
+    if re.search("^frameworks/%s/" % re.escape(self.directory), changes, re.M) is None:
       log.info("No changes found for directory %s", self.directory)
       log.info("No changes found for directory %s", self.directory)
       touch('.run-ci.should_not_run')
       touch('.run-ci.should_not_run')
       return False
       return False