Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Unified Diff: dart/tools/create_sdk.py

Issue 11363055: Escape backslashes in Windows file names to avoid conflicts with regular expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/create_sdk.py
diff --git a/dart/tools/create_sdk.py b/dart/tools/create_sdk.py
index 93c9802b44d7723c0ebeebcdcfe2ecf1635fa93b..6b474ff5cce8a88dd79ce329b8af4e4376993a14 100755
--- a/dart/tools/create_sdk.py
+++ b/dart/tools/create_sdk.py
@@ -277,16 +277,16 @@ def Main(argv):
ReplaceInFiles([join(SDK_tmp, 'bin', 'dart2js.bat'),
join(SDK_tmp, 'bin', 'dartdoc.bat'),
join(SDK_tmp, 'bin', 'pub.bat')],
- [("..\\..\\sdk\\lib", "..\\lib")])
+ [(r'..\\..\\sdk\\lib', r'..\lib')])
else:
ReplaceInFiles([join(SDK_tmp, 'bin', 'dart2js'),
join(SDK_tmp, 'bin', 'dartdoc'),
join(SDK_tmp, 'bin', 'pub')],
- [("../../sdk/lib", "../lib")])
+ [('../../sdk/lib', '../lib')])
# Fix up dartdoc.
# TODO(dgrove): Remove this once sdk and dart-sdk match.
- ReplaceInFiles([join(SDK_tmp, 'lib', '_internal', 'dartdoc',
+ ReplaceInFiles([join(SDK_tmp, 'lib', '_internal', 'dartdoc',
'lib', 'dartdoc.dart')],
[("_internal/dartdoc/lib/src/client/client",
"lib/_internal/dartdoc/lib/src/client/client")])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698