forked from len0rd/rockbox
use find's -exec instead of xargs to copy files, in an attempt to work better
on Mac OS X git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7122 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3f606de6f8
commit
25bb98d66a
1 changed files with 5 additions and 2 deletions
|
|
@ -48,8 +48,11 @@ sub buildzip {
|
|||
mkdir ".rockbox/langs", 0777;
|
||||
mkdir ".rockbox/rocks", 0777;
|
||||
mkdir ".rockbox/codecs", 0777;
|
||||
`find apps -name "*.codec" ! -empty | xargs --replace=foo cp foo .rockbox/codecs/`;
|
||||
`find apps "(" -name "*.rock" -o -name "*.ovl" ")" ! -empty ! -name "codec*.rock" | xargs --replace=foo cp foo .rockbox/rocks/`;
|
||||
|
||||
my $c = 'find apps -name "*.codec" ! -empty -exec cp {} .rockbox/codecs/ \;';
|
||||
print `$c`;
|
||||
$c= 'find apps "(" -name "*.rock" -o -name "*.ovl" ")" ! -empty -exec cp {} .rockbox/rocks/ \;';
|
||||
print `$c`;
|
||||
|
||||
open VIEWERS, "$ROOT/apps/plugins/viewers.config" or
|
||||
die "can't open viewers.config";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue