Index: pkg/front_end/tool/fasta |
diff --git a/pkg/front_end/tool/fasta b/pkg/front_end/tool/fasta |
index 4d269f33f9fd51f5805a6f07b2780415fd2f71f1..d8ca6fe794c7f53c8bbd45b8c6285f0f4a98426e 100755 |
--- a/pkg/front_end/tool/fasta |
+++ b/pkg/front_end/tool/fasta |
@@ -5,7 +5,7 @@ |
set -e |
-REPO_DIR="$(git rev-parse --show-toplevel)" |
+REPO_DIR="$(cd ${BASH_SOURCE%/*} && git rev-parse --show-toplevel)" |
# TODO(ahe): We currently rely on the Dart VM wrapper script to define |
# DART_CONFIGURATION for locating platform.dill. |