Actually run flutter-dev from source (turns out bash is NP-hard) (#153863)
Fixes https://github.com/flutter/flutter/pull/153599#issuecomment-2302587254.
This commit is contained in:
@@ -254,16 +254,16 @@ function shared::execute() {
|
||||
upgrade_flutter 7< "$SHARED_NAME"
|
||||
|
||||
case "$BIN_NAME" in
|
||||
flutter-dev)
|
||||
# FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be
|
||||
# considered as separate space-separated args.
|
||||
exec "$DART" --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$SCRIPT_PATH" "$@"
|
||||
;;
|
||||
flutter*)
|
||||
# FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be
|
||||
# considered as separate space-separated args.
|
||||
exec "$DART" --disable-dart-dev --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
|
||||
;;
|
||||
flutter-dev*)
|
||||
# FLUTTER_TOOL_ARGS aren't quoted below, because it is meant to be
|
||||
# considered as separate space-separated args.
|
||||
exec "$DART" --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$SCRIPT_PATH" "$@"
|
||||
;;
|
||||
dart*)
|
||||
exec "$DART" "$@"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user