apache / apache/eventmesh

[Bug] start.sh script in apache-eventmesh-1.9.0/bin directory executing error in linux

Open
#4,628 6 comments 0 reactions 0 assignees View on GitHub
bug Stale
Dominant language
Java
Stars
1.8k
Forks
658
Avg merge
11h 29m
Merged PRs (30d)
52

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.

### Environment

Linux

### EventMesh version

master

### What happened

i download apache-eventmesh-1.9.0-bin.tar.gz to my cloud server, unzip the file, run the start.sh script in apache-eventmesh-1.9.0/bin directory, it show like this
![image](https://github.com/apache/eventmesh/assets/11482231/a8947cfd-14c0-426c-b82e-e1c881794117)
Because for shell files compiled under windows, each line ends with\ n\ r, while each line under linux ends with\ n

### How to reproduce

download apache-eventmesh-1.9.0-bin.tar.gz to your linux server, unzip the file, run the start.sh script

### Debug logs

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [ ] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) *

Contributor guide

Open the contributing guide

Research direction

Start with bin/start.sh from the apache-eventmesh-1.9.0 binary on a Linux server and reproduce the reported execution error after extracting the archive. Check the script's line endings and verify that the packaged start.sh runs successfully on Linux without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.