• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Infrastructure → Build environment
  • Assigned To
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by rasher - 2006-11-05

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

Files that should to be checked:
- tools/configure
- tools/
- tools/
- tools/
- tools/

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

Fixed a bunch of \"==\", which I introduced myself (and one I didn\'t, in the manual makefile). That\'ll do.

Project Manager

AFAIK, people have successfully used configure on at least FreeBSD and Mac OS X as well. Do they use bash as default shells?

Project Manager

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.


Available keyboard shortcuts


Task Details

Task Editing