summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-21 13:37:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-21 13:37:45 +0000
commitc31ffae440b6e5b3ef28d584cd2a8f8b0c471c4e (patch)
treef0ddf00b0c30cc402ba509abeb0d2d712253706c /tools
parent2ed41f90201f1dd69e131837d051c6d41ac53721 (diff)
downloadrockbox-c31ffae440b6e5b3ef28d584cd2a8f8b0c471c4e.tar.gz
rockbox-c31ffae440b6e5b3ef28d584cd2a8f8b0c471c4e.tar.bz2
rockbox-c31ffae440b6e5b3ef28d584cd2a8f8b0c471c4e.zip
FS#5690 - folders with a file named database.ignore will be skipped by the database when it rebuilds, (this includes any subdirs in that fodler)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15738 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index e384eb8bd7..af87be07dc 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -186,7 +186,9 @@ sub buildzip {
# always disable fonts on non-bitmap targets
$fonts = 0;
}
-
+ # create the file so the database does not try indexing a folder
+ `touch .rockbox/database.ignore`;
+
if($fonts) {
mkdir ".rockbox/fonts", 0777;