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

Unified Diff: sdk/bin/dartdevc

Issue 2374453002: Tools not running from snapshots should use /.packages (Closed)
Patch Set: DART_ROOT doesn't exist in pub scripts Created 4 years, 3 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 | « sdk/bin/dartanalyzer.bat ('k') | sdk/bin/dartdevc.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/dartdevc
diff --git a/sdk/bin/dartdevc b/sdk/bin/dartdevc
index 246f6b75c7bacc1289d4fdaa4accf31b786477b4..5b75ad2fdec7c07b881eb9807d7b8bcdcd67b224 100755
--- a/sdk/bin/dartdevc
+++ b/sdk/bin/dartdevc
@@ -45,4 +45,4 @@ DART_ROOT="$(cd "${SDK_DIR}/.." ; pwd -P)"
DEV_COMPILER="$DART_ROOT/pkg/dev_compiler/bin/dartdevc.dart"
-exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$DEV_COMPILER" "$SDK_ARG" "$@"
+exec "$DART" "--packages=$DART_ROOT/.packages" "${EXTRA_VM_OPTIONS[@]}" "$DEV_COMPILER" "$SDK_ARG" "$@"
« no previous file with comments | « sdk/bin/dartanalyzer.bat ('k') | sdk/bin/dartdevc.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698