diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-12 11:11:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-12 11:11:50 +0000 |
commit | 25bb98d66a5df7475113e6a254568d1c2423f183 (patch) | |
tree | 2aaa0be7065b923753903c4d47bd2e7d7d40e503 | |
parent | 3f606de6f8d02aa9377de89562ecdb4836e13607 (diff) | |
download | rockbox-25bb98d66a5df7475113e6a254568d1c2423f183.tar.gz rockbox-25bb98d66a5df7475113e6a254568d1c2423f183.zip |
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
-rwxr-xr-x | tools/buildzip.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 3882745752..a75f424f97 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -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"; |