Index: tests/standalone/io/addlatexhash_test.dart |
diff --git a/tests/standalone/io/addlatexhash_test.dart b/tests/standalone/io/addlatexhash_test.dart |
index 5c1c74046c400a18077cf5a1bdc2220f8fb2f0b1..861f4967e6b0a5beb68581491459d983d325e3cf 100755 |
--- a/tests/standalone/io/addlatexhash_test.dart |
+++ b/tests/standalone/io/addlatexhash_test.dart |
@@ -9,8 +9,8 @@ import 'dart:io'; |
import 'package:path/path.dart' as path; |
import '../../../tools/addlatexhash.dart'; |
-final scriptDir = path.dirname(path.fromUri(Platform.script)); |
-final dartRootDir = path.dirname(path.dirname(path.dirname(scriptDir))); |
+final execDir = path.dirname(path.fromUri(Platform.executable)); |
+final dartRootDir = path.dirname(path.dirname(execDir)); |
final dartRootPath = dartRootDir.toString(); |
List<String> packageOptions() { |