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

Unified Diff: tools/create_sdk.py

Issue 11308279: Fix curl path-munging in create_sdk.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Do same munging style for 7zip. 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: tools/create_sdk.py
diff --git a/tools/create_sdk.py b/tools/create_sdk.py
index d0b52a6b2f8f72922bc505b6bd9dc52ae4014873..d839660264518bf9d7ee2d3469e473b8ec750772 100755
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -259,12 +259,12 @@ def Main(argv):
join(join(UTIL, 'pub'), '7zip'),
ignore=ignore_patterns('.svn'))
- ReplaceInFiles([
- join(UTIL, 'pub', 'io.dart'),
- ], [
- ("var pathTo7zip = '../../third_party/7zip/7za.exe';",
- "var pathTo7zip = '7zip/7za.exe';"),
- ])
+ ReplaceInFiles([
+ join(UTIL, 'pub', 'io.dart'),
+ ], [
+ ("../../third_party/7zip/7za.exe",
+ "7zip/7za.exe"),
+ ])
# Copy in cURL on all operating systems, since we need the certificates file
# even outside Windows. Leave out the EXE on non-Windows systems, though.
@@ -277,10 +277,10 @@ def Main(argv):
ReplaceInFiles([
join(UTIL, 'pub', 'curl_client.dart'),
], [
- ("var pathToCurl = '../../third_party/curl/curl.exe';",
- "var pathToCurl = 'curl/curl.exe';"),
- ("var pathToCertificates = '../../third_party/curl/ca-certificates.crt';",
- "var pathToCertificates = 'curl/ca-certificates.crt';"),
+ ("../../third_party/curl/curl.exe",
+ "curl/curl.exe"),
+ ("../../third_party/curl/ca-certificates.crt",
+ "curl/ca-certificates.crt"),
])
version = utils.GetVersion()
« 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