Menu

#1 Install script has incorrect line endings

open
nobody
5
2006-06-20
2006-06-20
Andy101
No

I have just downloaded protux. When attempting to use
the program with the ./protux script Bash gave me the
following error message:

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

Seems there is a nasty control character in there.

I fixed it using dos2unix

I won't bother posting a patch, it would be a change to
all 3 lines. Its probably easier to use dos2unix than
it is to actually use patch anyway.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.