Index: Tools/Scripts/webkitpy/w3c/test_importer.py |
diff --git a/Tools/Scripts/webkitpy/w3c/test_importer.py b/Tools/Scripts/webkitpy/w3c/test_importer.py |
index 8e4a5415866d7cc293092cd0e6206f97ccf6988b..66dd0db21a3b6fa0603ec5b5cfdfe1cfe32e496d 100644 |
--- a/Tools/Scripts/webkitpy/w3c/test_importer.py |
+++ b/Tools/Scripts/webkitpy/w3c/test_importer.py |
@@ -219,7 +219,8 @@ class TestImporter(object): |
for filename in files: |
path_full = self.filesystem.join(root, filename) |
- path_base = path_full.replace(self.layout_tests_dir + '/', '') |
+ path_base = path_full.replace(directory + '/', '') |
+ path_base = self.destination_directory.replace(self.layout_tests_dir + '/', '') + '/' + path_base |
if path_base in paths_to_skip: |
if not self.options.dry_run and self.import_in_place: |
_log.info(" pruning %s" % path_base) |