summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2011-03-02 12:47:48 +0000
committerBjörn Stenberg <bjorn@haxx.se>2011-03-02 12:47:48 +0000
commit1f77d091a5ce98c10e263dfdb18f2939aeb21a55 (patch)
tree193f86ff3c9210373e2135a04e639a4c1bc57efd
parentd0fdeca19ed4e3beefb1beefdb93eee12bd3c364 (diff)
Only create english.list for binary output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29499 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/genlang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genlang b/tools/genlang
index c62a376d00..c8ccbd16d7 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -236,7 +236,7 @@ sub readenglish {
my @vidnum = ((0x8000)); # first voice id
- if (!$update and file_is_newer("$binpath/english.list", $english)) {
+ if ($binary and file_is_newer("$binpath/english.list", $english)) {
open(ENG, "<$binpath/english.list") ||
die "Error: can't open $binpath/english.list";
while (<ENG>) {
@@ -830,7 +830,7 @@ if($verbose) {
}
}
-if (!-r "$binpath/english.list") {
+if ($binary and !-r "$binpath/english.list") {
open(ENGLIST, ">$binpath/english.list") ||
die "Failed creating $binpath/english.list";
for my $user (keys %users) {