Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7661 closed defect (invalid)

Lack of forthought in shell scripting, in build.sh breaks running it...

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: 0.9.6
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

Problem:

touch: cannot touch `build.sh/.firstrun': Not a directory

When:

sh build.sh {blah blah blah}

Fix:

  • build.sh

    old new  
    487487  IFS=$_IFS
    488488}
    489489
    490 SOURCEDIR=${0%/*}
     490SOURCEDIR=`dirname $0`
    491491BACKUPDIR="$SOURCEDIR/.backup"
    492492# Don't touch these. Make a ~/.xbmc-build-settings instead.
    493493# See ./build.sh --help

This does not change the script's function when running as ./build.sh

Attachments (1)

patch-build.sh.diff.txt (321 bytes ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (5)

by anonymous, 16 years ago

Attachment: patch-build.sh.diff.txt added

comment:1 by anonymous, 16 years ago

Trac doesn't like the original formatting of the post, so I've attached the patch as text. —Sir_Ace

comment:2 by Remy Blank, 16 years ago

Description: modified (diff)

comment:3 by Christian Boos, 16 years ago

Resolution: invalid
Status: newclosed

Sorry, but you're on the WrongTrac

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.