Modify ↓
#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 )
Problem:
touch: cannot touch `build.sh/.firstrun': Not a directory
When:
sh build.sh {blah blah blah}
Fix:
-
build.sh
old new 487 487 IFS=$_IFS 488 488 } 489 489 490 SOURCEDIR= ${0%/*}490 SOURCEDIR=`dirname $0` 491 491 BACKUPDIR="$SOURCEDIR/.backup" 492 492 # Don't touch these. Make a ~/.xbmc-build-settings instead. 493 493 # See ./build.sh --help
This does not change the script's function when running as ./build.sh
Attachments (1)
Change History (5)
by , 16 years ago
Attachment: | patch-build.sh.diff.txt added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sorry, but you're on the WrongTrac …
Note:
See TracTickets
for help on using tickets.
Trac doesn't like the original formatting of the post, so I've attached the patch as text. —Sir_Ace