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

Unified Diff: tool/patch_sdk.dart

Issue 1270993002: fixes #276, path manipulation issues on windows. Also fixes server mode (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix comment Created 5 years, 4 months 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 | « test/codegen/expect/sunflower/sunflower.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/patch_sdk.dart
diff --git a/tool/patch_sdk.dart b/tool/patch_sdk.dart
index 62c8f5a1603f9f997fead227079948cfa4c8b7f0..276d5fd53e94a4a91914298fcacbe83f8cff3262 100755
--- a/tool/patch_sdk.dart
+++ b/tool/patch_sdk.dart
@@ -15,8 +15,8 @@ import 'package:path/path.dart' as path;
void main(List<String> argv) {
if (argv.length < 2) {
- var self = path.relative(Platform.script.path);
- var toolDir = path.relative(path.dirname(Platform.script.path));
+ var self = path.relative(path.fromUri(Platform.script));
+ var toolDir = path.relative(path.dirname(path.fromUri(Platform.script)));
var inputExample = path.join(toolDir, 'input_sdk');
var outExample = path.relative(
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698