Index: tools/create_sdk.py |
diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
index b9cd4e0ee1c545b08a837002be3385bd8f9a45d5..6c8de9bc22df559765489eeb038b7be798f6c4fc 100755 |
--- a/tools/create_sdk.py |
+++ b/tools/create_sdk.py |
@@ -114,7 +114,9 @@ def CopyDart2Js(build_dir, sdk_root, revision): |
Copy(os.path.join(build_dir, 'dartdoc.bat'), dartdoc) |
# TODO(dgrove) - fix this once issue 4788 is addressed. |
ReplaceInFiles([dart2js], |
- [(r'%SCRIPTPATH%\.\.\\lib', r'%SCRIPTPATH%..\\pkg')]); |
+ [(r'%SCRIPTPATH%\.\.\\\.\.\\lib', r'%SCRIPTPATH%..\\pkg')]); |
+ ReplaceInFiles([dartdoc], |
+ [(r'%SCRIPTPATH%\.\.\\\.\.\\pkg', r'%SCRIPTPATH%..\\pkg')]); |
else: |
dart2js = os.path.join(sdk_root, 'bin', 'dart2js') |
Copy(os.path.join(build_dir, 'dart2js'), dart2js) |