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

Unified Diff: sdk/bin/pub

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/dartfmt.bat ('k') | sdk/bin/pub.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/pub
diff --git a/sdk/bin/pub b/sdk/bin/pub
index 403635f74912ab57f031253d9da4cdbf939ce52a..20e9d3d8970760283c5239605addb1f998482f08 100755
--- a/sdk/bin/pub
+++ b/sdk/bin/pub
@@ -82,4 +82,4 @@ DART="$BUILD_DIR/dart-sdk/bin/dart"
# Run pub.
PUB="$SDK_DIR/../third_party/pkg/pub/bin/pub.dart"
-exec "$DART" "${VM_OPTIONS[@]}" "$PUB" "$@"
+exec "$DART" "--packages=$SDK_DIR/../.packages" "${VM_OPTIONS[@]}" "$PUB" "$@"
« no previous file with comments | « sdk/bin/dartfmt.bat ('k') | sdk/bin/pub.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698