#106 executable abcl wrapper shell script for Unix broken

open
nobody
Lisp (13)
5
2009-08-25
2009-08-25
Christian Þ
No

After building ABCL 0.15.0 using Ant, I noticed that the generated shell script for starting ABCL does not work. Instead it says this:

$ ./abcl
bash: ./abcl: /bin/sh^M: bad interpreter: No such file or directory

I have seen this before elsewhere. It happens when your Unix shell script has DOS/Windows line endings (CR-LF). This is easy to fix, e.g. like so:

$ recode /CR-LF.. abcl.in

Discussion

  • Christian Þ
    Christian Þ
    2009-08-25

    Perhaps I should add that I downloaded the file abcl-src-0.15.0.tar.gz.