The Unix shell scripts in yajsw-beta-12.07 have DOS line endings (CRLF) instead of Unix line endings (LF). This causes scripts to break with errors similar to the following:
root@uxeprdlnxmine01:/opt/spigotmc# bash -x /opt/spigotmc/yajsw-beta-12.07/bin/installDaemon.sh + $'\r' /opt/spigotmc/yajsw-beta-12.07/bin/installDaemon.sh: line 5: $'\r': command not found + PRG=$'/opt/spigotmc/yajsw-beta-12.07/bin/installDaemon.sh\r' + $'\r' /opt/spigotmc/yajsw-beta-12.07/bin/installDaemon.sh: line 8: $'\r': command not found /opt/spigotmc/yajsw-beta-12.07/bin/installDaemon.sh: line 35: syntax error: unexpected end of file
Or the following:
root@uxeprdlnxmine01:/opt/spigotmc/yajsw-beta-12.07# ./bin/installDaemon.sh -bash: ./bin/installDaemon.sh: /bin/bash^M: bad interpreter: No such file or directory
Or the following:
/bin/sh: 1: /opt/spigotmc/yajsw-beta-12.07/bin/installDaemon.sh: not found
thanks for pointing this out
release 12.08