[xngr-dev] [ xngr-Bugs-660331 ] CR in .sh script causes problems
Brought to you by:
edankert
From: <no...@so...> - 2002-12-31 10:27:39
|
Bugs item #660331, was opened at 2002-12-31 02:27 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=445486&aid=660331&group_id=46235 Category: None Group: 0.9 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: CR in .sh script causes problems Initial Comment: Donwloaded xngr-setup-v09.tar.gz, tried to run ./xngr.sh: : bad interpreter: No such file or directory I found that it is because of windows-like line endings in script, with character CR (ASCII 13), that is taken as part of shell name, before LF (ASCII 10) is reached. The same problem was on line that runs java interpreter, behind "xngr-browser.jar" there is CR that is considered as part of archive name. I use RedHat Linux 7.3. dea...@ho... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=445486&aid=660331&group_id=46235 |