Index: tools/isolate/isolate.py |
diff --git a/tools/isolate/isolate.py b/tools/isolate/isolate.py |
index 252ca0ccb13657f38f71a7625611d94588a651ae..c584b396716943aaf7507cc4e45d97c9ba507620 100755 |
--- a/tools/isolate/isolate.py |
+++ b/tools/isolate/isolate.py |
@@ -422,6 +422,11 @@ class CompleteState(object): |
command, infiles, read_only = load_isolate(f.read(), error) |
command = [eval_variables(i, variables) for i in command] |
infiles = [eval_variables(f, variables) for f in infiles] |
+ |
+ # Command paths could contain / or \ on windows. Always normalize |
+ # to os.path.sep. |
+ command = [i.replace('/', os.path.sep) for i in command] |
M-A Ruel
2012/05/23 00:34:09
It'll blow up.
What is the problem exactly? (And
|
+ |
# root_dir is automatically determined by the deepest root accessed with the |
# form '../../foo/bar'. |
root_dir = determine_root_dir(relative_base_dir, infiles) |