I downloaded the latest nightly build (freecol-nightly-20220420.zip).
It contained the script freecol in the directory freecol.
This script had two issues:
- The file lacked the executable permission. This could be fixed with
chmod +x freecol/freecol.
- The file contained CRLF line endings (dos/windows style).
- Thus it was not executable:
bash: freecol/freecol: /bin/sh^M: bad interpreter: No such file or directory
- the
^M marks the carriage return (\r) which is not supposed to be there and which is interpreted as being part of the filename
- this could be fixed with:
fromdos freecol/freecol
The original script in the repository looks good: packaging/common/freecol.sh (executable flag and correct line ending).
Thus I guess, that build.xml needs some adjustments.
Thank you for your time!
I downloaded the latest nightly build (
freecol-nightly-20220420.zip).It contained the script
freecolin the directoryfreecol.This script had two issues:
chmod +x freecol/freecol.bash: freecol/freecol: /bin/sh^M: bad interpreter: No such file or directory^Mmarks thecarriage return(\r) which is not supposed to be there and which is interpreted as being part of the filenamefromdos freecol/freecolThe original script in the repository looks good:
packaging/common/freecol.sh(executable flag and correct line ending).Thus I guess, that
build.xmlneeds some adjustments.Thank you for your time!