Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startserver.sh contains CRLF line endings, preventing execution on some systems #88

Open
3 tasks done
FubyCutie opened this issue Nov 7, 2023 · 3 comments
Open
3 tasks done

Comments

@FubyCutie
Copy link

Type of Instance

Multiplayer

Installation Target

Your Own Computer or Laptop

Your Actions

When running the startserver.sh script on my computer, I got the error "/bin/bash^M" no such file or directory, the ^M being the carriage return character

Your Pack Version

1.6.3

Required Logs

As this issue is pre-launch when the other logs do not exist yet, I have included the commandline output instead

zsh: ./startserver.sh: bad interpreter: /bin/bash^M: no such file or directory

Final Checklist

  • I have provided all the required logs.
  • I searched this issue tracker and there is nothing similar already.
  • I can reproduce this crash consistently by following the exact steps I described above.
@DrParadox7
Copy link
Owner

Is both MR and CF affected?

@FubyCutie
Copy link
Author

I installed from Modrinth, unsure for curseforge, it seems to be an error with the startserver.sh file itself, not how it is packaged, so if that file is on both it should be an issue on both

@idk-some-guy
Copy link

idk-some-guy commented Dec 28, 2023

Was browsing issues, possibly duplicate or regression of #79

can confirm, same issue, same fix on 1.6.4.
Modrinth hubrid download -> affected (startserver.sh in .minecraft directory as installed using Prism Launcher)
Curseforge separate server download -> not affected and works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants