Chromium Code Reviews| Index: utils/compiler/create_snapshot.dart |
| diff --git a/utils/compiler/create_snapshot.dart b/utils/compiler/create_snapshot.dart |
| index 7796197ab3a5990c9765b6a34871993b09bb0b69..1bbcb8c2a6a07da525bac2bf1156b650204a1696 100644 |
| --- a/utils/compiler/create_snapshot.dart |
| +++ b/utils/compiler/create_snapshot.dart |
| @@ -83,8 +83,7 @@ void main(List<String> arguments) { |
| if (!args.containsKey("output_dir")) throw "Please specify output_dir"; |
| if (!args.containsKey("package_root")) throw "Please specify package_root"; |
| - var scriptFile = |
| - new Uri.file(new File(Platform.script).resolveSymbolicLinksSync()); |
| + var scriptFile = Uri.base.resolveUri(Platform.script); |
|
floitsch
2013/10/31 01:15:51
Does resolveUri resolve symlinks?
If not, these ar
|
| var path = scriptFile.resolve("."); |
| var rootPath = path.resolve("../.."); |
| getSnapshotGenerationFile(args, rootPath).then((result) { |