scijava / scijava-scripts

Shell scripts for scientific projects written in Java
The Unlicense
15 stars 16 forks source link

release-version: newline style is fragile with WSL #47

Closed ctrueden closed 2 years ago

ctrueden commented 2 years ago

@imagejan wrote:

When trying release-properties.sh from WSL terminal, I get:

-bash: ../../scijava/scijava-scripts/release-version.sh: /bin/sh^M: bad interpreter: No such file or directory

Double check that this isn't an issue with newline style in the committed file.

imagejan commented 2 years ago

Indeed, this was an issue with a misconfiguration of git for Windows, checking out Windows-style line endings in a fresh installation. Sorry for the late follow-up.