Open negora opened 2 years ago
The problem was my local window pc. It used \r\n and git do not used updated version from git with \n. Has someone a idea to fix it automatic with gradle build one building distribution zip?
Does it help? What is the easiest way convert line endings to unix style when creating tar file in Gradle?. The thread is about Tar but I guess it's applicable to Zip too. I don't use Gradle, so just a guess...
I added a test case to check the files. It is not the best solution but better than nothing
Description.
When I try to run
olv.sh
in Debian GNU/Linux, I get this error:It has turned to be because the file has CRLF line endings (Windows) instead of LF ones (Linux).
Workaround.
I've run this Perl script to solve it:
Technical specifications.
Thank you.