birt icon indicating copy to clipboard operation
birt copied to clipboard

Fix line terminators in “genReport.sh”

Open Markus-Elfring opened this issue 2 years ago • 2 comments

I tried the current software out. I stumbled on the following information then.

  • Command result 1
    Markus_Elfring@…:~> file ~/Downloads/Freeware/birt-runtime-osgi-4.9.0-20220315/ReportEngine/genReport.sh ~/Downloads/Freeware/birt-runtime-4.9.0-20220315/ReportEngine/genReport.sh
    /home/Markus_Elfring/Downloads/Freeware/birt-runtime-osgi-4.9.0-20220315/ReportEngine/genReport.sh: POSIX shell script, ASCII text executable, with CRLF line terminators
    /home/Markus_Elfring/Downloads/Freeware/birt-runtime-4.9.0-20220315/ReportEngine/genReport.sh:      POSIX shell script, ASCII text executable, with CRLF line terminators
    
  • Command result 2
    Markus_Elfring@…:~/Downloads/Freeware/birt-runtime-osgi-4.9.0-20220315/ReportEngine> ./genReport.sh -f PDF -o ~/…/Test1/Probe1.pdf ~/…/Test1/Test1.rptdesign
    bash: ./genReport.sh: /bin/sh^M: Defekter Interpreter: Datei oder Verzeichnis nicht gefunden
    

Would you like to adjust the mentioned shell script?

Markus-Elfring avatar Mar 28 '22 12:03 Markus-Elfring

Can you test it with the latest version and provide a patch if it does not work?

https://download.eclipse.org/birt/downloads/drops/snapshot/

wimjongman avatar Sep 27 '22 12:09 wimjongman

Did any other software developers take another look if inappropriate line terminators were stored in published shell scripts?

Markus-Elfring avatar Sep 27 '22 12:09 Markus-Elfring