Index: pkg/kernel/bin/reified_dart.dart |
diff --git a/pkg/kernel/bin/reified_dart.dart b/pkg/kernel/bin/reified_dart.dart |
index dfdeb30490c441c1e9c5f0d9191e6a370e6a9821..e103bd1d48bffc3c0ff7e4793636b7d601b42d8b 100755 |
--- a/pkg/kernel/bin/reified_dart.dart |
+++ b/pkg/kernel/bin/reified_dart.dart |
@@ -18,7 +18,7 @@ args.ArgParser parser = new args.ArgParser(allowTrailingOptions: true) |
..addOption("dartk", |
abbr: "k", |
help: "Path to 'dartk' executable. By default it will be searched for\n" |
- "in the same directory as 'reified_dart'.", |
+ "in the tool directory of the kernel package.", |
defaultsTo: null) |
..addOption("dill-output", |
abbr: "d", |
@@ -97,7 +97,7 @@ String getDefaultSdk() { |
String getDefaultDartk() { |
String currentFile = Platform.script.toFilePath(); |
- String dartkPath = path.join(path.dirname(currentFile), "dartk.dart"); |
+ String dartkPath = path.join(path.dirname(currentFile), "../tool/dartk.dart"); |
checkIsFile(dartkPath, |
option: "Path to 'dartk'", |