Rockbox

Tasklist

FS#9867 - Release scripts are broken on many machines (/tools/release/*.pl)

Attached to Project: Rockbox
Opened by Joshua Simmons (mud) - Tuesday, 03 February 2009, 05:39 GMT
Last edited by Dominik Riebeling (bluebrother) - Sunday, 05 June 2011, 09:33 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

svn revision: r19908

Several of the release tools (tools/release/bins.pl, tools/release/manuals.pl, and tools/release/voices.pl) are using the system 'echo -e' command. 'echo -e' is not portable and is broken on my system (kubuntu 8.10 amd64) which means that these scripts fail. Here is a patch to fix it, by using a pipe and perl's own printf command instead.

Note: My system's echo command actually supports -e, but perl seems to use sh for running system commands and backticks and sh has its own built in lame version of echo. This makes it all the more confusing when you try to debug it.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Sunday, 05 June 2011, 09:33 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Release scripts have been used multiple times since then so should be fixed.
Comment by Joshua Simmons (mud) - Tuesday, 03 February 2009, 05:40 GMT
Forgot to attach the patch.

Loading...