Skip to content

Shell scripts initially in CRLF instead of LF (causing execution issues on Linux) #73

@hgfshfsnjsfgns

Description

@hgfshfsnjsfgns

Hi,

I am currently running a node using your repository, and I noticed something unexpected regarding the shell scripts (.sh files).

At first, several scripts were formatted with CRLF line endings instead of LF. This caused execution problems on my Linux environment (e.g., ^M characters and “bad interpreter” errors). Since running a node requires a Linux-based environment, I was surprised that the scripts were not already in LF format.

After converting them to LF, everything works normally.

Steps to Reproduce

  1. Clone the repository on Windows

  2. Open the .sh files (they appear in CRLF)

  3. Try executing them on a Linux environment → execution errors

Expected Behavior

Shell scripts in repositories intended for Linux execution should use LF line endings by default.

Actual Behavior

Some .sh files were in CRLF, causing errors when running the node setup or startup scripts.

Environment

Running node on: Linux

Repo cloned initially on: Windows

Issue: CRLF line endings in shell scripts

Suggestion

Convert all .sh files in the repository to LF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions