1
0
Fork 0
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:
Daniel Stenberg 2005-07-12 11:11:50 +00:00
parent 3f606de6f8
commit 25bb98d66a

View file

@ -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";