summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl7
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";