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

Unified Diff: pkg/front_end/tool/fasta

Issue 2896033002: Support being called as absolute path. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698