Index: sdk/bin/pub |
diff --git a/sdk/bin/pub b/sdk/bin/pub |
index 726b58be3d9727a2d2091340670768f11addc30e..95fb3b813198bf61dd4d4b508ee67b9655d658c7 100755 |
--- a/sdk/bin/pub |
+++ b/sdk/bin/pub |
@@ -8,6 +8,5 @@ |
BIN_DIR="$(cd "${0%/*}" ; pwd -P)" |
export DART_SDK="$(cd "${BIN_DIR%/*}" ; pwd -P)" |
-# TODO(dgrove): This doesn't work yet. It will once dartbug.com/6619 is |
-# fixed. |
-exec "$BIN_DIR"/dart "$DART_SDK"/lib/_internal/pub/pub.dart $@ |
+exec "$BIN_DIR"/dart --package-root="$DART_SDK"/packages/ \ |
+ "$DART_SDK"/lib/_internal/pub/bin/pub.dart $@ |