diff --git a/scripts/mk_util.py b/scripts/mk_util.py index 145d8d9be..ea1ad6050 100644 --- a/scripts/mk_util.py +++ b/scripts/mk_util.py @@ -1007,8 +1007,9 @@ class Component: # Iterate through all of the possibilities for possibility in possibilities: + path = possibility.path.replace("\\","/") # If we match the suffix of the path ... - if possibility.path.endswith(orig_dir): + if path.endswith(orig_dir): # ... use our new match return possibility