Skip to content

unix_setup.sh script error due to ^M #5153

Open
@mfrade

Description

@mfrade

When I run the unix_setup.sh script I get this error:
./unix_setup.sh: /bin/bash^M: bad interpreter: No such file or directory

This error happens because the file was saved with "windows style" end of the line (\r\n), which appears as ^M at the end of every line:
cat -Te unix_setup.sh

This error can be easily fixed:
dos2unix unix_setup.sh

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions