summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-xtools/buildzip.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index ed937d42e4..e17c2f0712 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -201,7 +201,7 @@ sub make_install {
201 @files = readdir(DIR); 201 @files = readdir(DIR);
202 closedir(DIR); 202 closedir(DIR);
203 203
204 foreach my $file (grep (/[a-zA-Z]+\.(txt|config|ignnore)/,@files)) { 204 foreach my $file (grep (/[a-zA-Z]+\.(txt|config|ignore|sh)/,@files)) {
205 glob_install("$src/$file", "$userdir/"); 205 glob_install("$src/$file", "$userdir/");
206 } 206 }
207 return 1; 207 return 1;
@@ -423,6 +423,11 @@ sub buildzip {
423 # create the file so the database does not try indexing a folder 423 # create the file so the database does not try indexing a folder
424 open(IGNORE, ">$temp_dir/database.ignore") || die "can't open database.ignore"; 424 open(IGNORE, ">$temp_dir/database.ignore") || die "can't open database.ignore";
425 close(IGNORE); 425 close(IGNORE);
426
427 # the samsung ypr0 has a loader script that's needed in the zip
428 if ($modelname =~ /samsungypr0/) {
429 glob_copy("$ROOT/utils/ypr0tools/rockbox.sh", "$temp_dir/");
430 }
426 431
427 glob_mkdir("$temp_dir/langs"); 432 glob_mkdir("$temp_dir/langs");
428 glob_mkdir("$temp_dir/rocks"); 433 glob_mkdir("$temp_dir/rocks");