dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: building RB on OS X

Re: building RB on OS X

From: Daniel Stenberg <>
Date: Tue, 12 Jul 2005 10:47:47 +0200 (CEST)

On Tue, 12 Jul 2005, Jvo Studer wrote:

> I guess there is a problem with xargs. I don't get the problem there, man
> page didn't make me wiser so. what does --replace=foo do? I'm not at all a
> unix crack, but afaik '|' does pipe the output to the following command,
> correct?

Yes, the find command pipes the list of names to xargs, and xargs creates
command lines that it runs. The --replace=foo means that it replaces 'foo' in
the command line with the names read from stdin (the pipe). That should create
and or more command lines like "cp [list of codecs] .rockbox/codecs/".

It could of course easily be rewritten to avoid the --replace thing. Something

  my _at_f = `find apps -name "*.codec" ! -empty`;
  for (_at_f) {
    system("cp $_ .rockbox/codecs/");

> I guess the cp does not work because the argument is empty, and therefore
> they are missing in the final zip-file.


  Daniel Stenberg -- --
Received on 2005-07-12

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy