Skip to content

Flutter and dart shell script should have Unix line endings #179242

@davidmichaelkarr

Description

@davidmichaelkarr

Steps to reproduce

  1. Install flutter on Windows
  2. Try to run flutter from Cygwin shell

Expected results

flutter should work.

Actual results

Instead, I get errors about line endings in the "flutter" and "dart" scripts.

I am trying to use flutter and dart from Cygwin shells on Windows, so I'm executing the "flutter" and "dart" scripts, not "flutter.bat" and "dart.bat". After installing flutter, I had to run "dos2unix" on the "flutter" and "dart" shell scripts in the bin directory. It makes no sense for those scripts to have dos line endings, no matter where they are installed.

Code sample

NA

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectinfra: releaseRelease-related requests and toolingplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionteam-infraOwned by Infrastructure teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions