startup.sh needs to be dos2unixed or it doesn't work

Description

The startup script bin/startup.sh has windows-style carriage return/linefeeds, so it doesn't work. It leads to very obscure error messages and no small ammount of frustration trying to get the thing to work. The fix is simple though, run:

dos2unix startup.sh

This fixes it.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 4:07 PM

CodeHaus Comment From: dblasby - Time: Tue, 26 Jul 2005 14:58:37 -0500
---------------------
<p>set fixed version to track</p>

codehaus
April 10, 2015, 4:07 PM

CodeHaus Comment From: cholmes - Time: Tue, 26 Jul 2005 16:16:42 -0500
---------------------
<p>There's probably an ant task to help us, so we don't have to remember every time: <a href="http://ant.apache.org/manual/CoreTasks/fixcrlf.html" class="external-link" rel="nofollow">http://ant.apache.org/manual/CoreTasks/fixcrlf.html</a> should maybe do the trick?</p>

codehaus
April 10, 2015, 4:07 PM

CodeHaus Comment From: amitkulz - Time: Fri, 19 Aug 2005 12:19:01 -0500
---------------------
<p>the shutdown.sh needs to be chmod +x and also needs to be dos2unix'ed..</p>

<p>amit</p>

codehaus
April 10, 2015, 4:07 PM

CodeHaus Comment From: dblasby - Time: Thu, 8 Sep 2005 15:08:59 -0500
---------------------
<p>I dont see any of the dos LF characters in the file. </p>

<p>I'll see what I can do about setting +x permissions. I'm not sure how SVN and tar etc... handle this.</p>

codehaus
April 10, 2015, 4:07 PM

CodeHaus Comment From: aaime - Time: Thu, 29 Mar 2007 02:06:16 -0500
---------------------
<p>These issue has been in resolved state for at least one month (quite a bit, a lot more than one month). Batch transitioning them to closed state</p>

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Components

Priority

High
Configure