Message54228
PROBLEM
If a file installed as a script has Window cr-lf
endings, even if the '#!/usr/bin/env python' is
included to support direct execution on Linux, it
doesn't work because the shell is confused by the
cr-lf.
This problem has been addressed in the newsgroups,
with the usual solution to manually change the line
endings, or only develop with an editor that can
maintain Linux line endings.
SOLUTION
Convert line endings on installed scripts to the line
endings appropriate to the machine running the
installation. Could be limited to Unix/Linux
platform because Windows doesn't care about the line
endings.
kindest regards,
tim |
|
Date |
User |
Action |
Args |
2007-08-23 16:08:19 | admin | link | issue1004696 messages |
2007-08-23 16:08:19 | admin | create | |
|