FS#6919 - Manual does not build on ubuntu

Attached to Project: Rockbox
Opened by Martin Arver (tucoz) - Wednesday, 28 March 2007, 09:01 GMT
Last edited by Dominik Riebeling (bluebrother) - Thursday, 21 June 2007, 15:36 GMT
Task Type Bugs
Category Manual
Status Closed
Assigned To Dominik Riebeling (bluebrother)
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The manual does not build on Ubuntu, due to the fact that a standard ubuntu install points /bin/sh to /bin/dash as opposed to /bin/bash. The Makefile expects bash's echo which is different than dash's echo.
A possibly solution suggested by linuxstb is to use perl instead of echo, and by that not depend on what shell you use.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Thursday, 21 June 2007, 15:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks for pointing me to printf :)
Comment by Dominik Riebeling (bluebrother) - Wednesday, 28 March 2007, 09:06 GMT
Quick fix by using perl. It's a bit hackish because perl gets called three times.
Comment by Dave Chapman (linuxstb) - Thursday, 07 June 2007, 14:42 GMT
Here's an alternative patch - using printf instead of Perl. printf is built into bash, and can optionally be built into dash. Otherwise the external command will be used (which seems to be present everywhere).