manual path correction in triple.sh

Bug #463501 reported by tkranz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Triple Game
Confirmed
Low
Ralf Hersel

Bug Description

When I doesn't use the default triple direction (Development/python/triple/) I have to fix the path in triple.sh line 3 manually. Following changes should make this unnecessary under linux (could test it only with ubuntu 9.04); triple.sh should work now, never mind where the triple directory is moved to.

triple/triple.sh

    -cd;
    -cd Development/python/triple/;

    +path=`dirname "${0}"`
    +cd "${path}"/

Greetings tobias

Revision history for this message
tkranz (tkranz) wrote :

I spotted a little mistake: + cd "${path}" (no slash is needed).

Revision history for this message
tkranz (tkranz) wrote :

two lines two mistakes^^: + path = `dirname "${0}"` (spaces around equal sign were missing)

So the correct changes:

    - cd;
    - cd Development/python/triple/;

    + path = `dirname "${0}"`
    + cd "${path}"

Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

Thank you Tobias
I will change this in the next release.

Changed in triplegame:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Ralf Hersel (ralf.hersel)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.