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

Line Separator in .sh file make bug #9

Open
FulgenceWen opened this issue Oct 24, 2024 · 0 comments
Open

Line Separator in .sh file make bug #9

FulgenceWen opened this issue Oct 24, 2024 · 0 comments

Comments

@FulgenceWen
Copy link

I saw the project run in Linux and I run the project on my CentOS7 server.
When running python prepare_mcp.py:

: No such file or directorydata/MyCode/JARVIS-1/scripts
Cloning into 'MCP-Reborn'...
remote: Enumerating objects: 275, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 275 (delta 55), reused 51 (delta 51), pack-reused 208 (from 1)
Receiving objects: 100% (275/275), 248.08 KiB | 0 bytes/s, done.
Resolving deltas: 100% (153/153), done.
: No such file or directoryCP-Reborn
fatal: Not a git repository (or any parent up to mount point /data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
chmod: cannot access ‘*\r’: No such file or directory
setup_mcp.sh: line 10: ./gradlew: No such file or directory

I find the problem after a long time, and finally I find the Line Separator in patch_mcp.sh and setup_mcp.sh file is "\r", however Linux use "\n", I hope you can fix this bug!(Line Separator standard in Linux is LF, which use only"\n", and Windows is CRLF, use both"\r""\n")

@FulgenceWen FulgenceWen changed the title LineSeperator in .sh file make bug Line Separator in .sh file make bug Oct 24, 2024
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

1 participant