Index: sdk/bin/dartdoc |
diff --git a/sdk/bin/dartfmt_sdk b/sdk/bin/dartdoc |
similarity index 85% |
copy from sdk/bin/dartfmt_sdk |
copy to sdk/bin/dartdoc |
index 0a9cbefcb3a6320961b4b044a8683e916533bd45..319df02872f3907801ef1346eea59953fbcb4fec 100755 |
--- a/sdk/bin/dartfmt_sdk |
+++ b/sdk/bin/dartdoc |
@@ -22,8 +22,8 @@ PROG_NAME="$(follow_links "$BASH_SOURCE")" |
BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)" |
SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)" |
-SNAPSHOT="$BIN_DIR/snapshots/dartfmt.dart.snapshot" |
+SNAPSHOT="$BIN_DIR/snapshots/dartdoc.dart.snapshot" |
# We are running the snapshot in the built SDK. |
DART="$BIN_DIR/dart" |
-exec "$DART" "$SNAPSHOT" "$@" |
+exec "$DART" --packages="$BIN_DIR/snapshots/resources/dartdoc/.packages" "$SNAPSHOT" "$@" |