- Status Closed
- Percent Complete
- Task Type Bugs
- Category Infrastructure → Build environment
-
Assigned To
rasher - Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#6294 - Shell scripts assume /bin/sh is bash
There are problems with, at least, the configure script, which has been causing troubles on Ubuntu 6.10, since /bin/sh is not bash by default. Ideally, shell scripts should have a shebang of #!/bin/sh and use POSIX compatible syntax and features. See http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
Files that should to be checked:
- tools/configure
- tools/rockboxdev.sh
- tools/genvoice.sh
- tools/gentalkclips.sh
- tools/voicecommon.sh
Closed by rasher
2006-11-06 11:22
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2006-11-06 11:22
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Fixed a bunch of \"==\", which
I introduced myself (and one I
didn\'t, in the manual makefile).
That\'ll do.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
AFAIK, people have successfully used configure on at least FreeBSD and Mac OS X as well. Do they use bash as default shells?
Or perhaps a more suitable way to ask the question is: what particular non-POSIX constructs are we using then?
I actually don't know, since I'm in the process of reinstalling the system I use for Rockbox development, but I noticed in the logs that someone had problems with building the manual (I think it was). It might be that that's the only problem, but I thought I'd give all scripts a thorough looking over.