mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
tools: Fixes for release scripts
Change-Id: I2d2184baa5267aec64c48eee13580085feb0d4cb
This commit is contained in:
parent
6c5c95e59d
commit
c3b8fcae33
2 changed files with 4 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ sub runone {
|
|||
}
|
||||
|
||||
print "remove all contents in build-$dir\n" if($verbose);
|
||||
system("rm -rf build-$dir");
|
||||
system("rm -rf buildb-$dir");
|
||||
|
||||
return $a;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ sub runone {
|
|||
system("mkdir -p output/$target");
|
||||
system("mkdir -p .rockbox/langs");
|
||||
system("cp $o .rockbox/langs");
|
||||
system("cp $lang.lng.talk .rockbox/langs");
|
||||
system("cp InvalidVoice_$lang.talk .rockbox/langs");
|
||||
system("zip -q -r $newo .rockbox");
|
||||
system("rm -rf .rockbox");
|
||||
`chmod a+r $newo`;
|
||||
|
|
@ -68,7 +70,7 @@ sub buildit {
|
|||
# run make in tools first to make sure they're up-to-date
|
||||
`(cd tools && make ) >/dev/null 2>&1`;
|
||||
|
||||
if (!defined($ENV{'POOL'}) {
|
||||
if (!defined($ENV{'POOL'})) {
|
||||
my $home=$ENV{'HOME'};
|
||||
my $pool="$home/tmp/rockbox-voices-$version/voice-pool";
|
||||
`mkdir -p $pool`;
|
||||
|
|
@ -82,8 +84,6 @@ for my $b (&usablebuilds) {
|
|||
next if ($builds{$b}{voice}); # no variants
|
||||
|
||||
for my $v (&allvoices) {
|
||||
my %voice = $voices{$v};
|
||||
|
||||
# print " runone $b $v ($voices{$v}->{lang} via $voices{$v}->{defengine})\n";
|
||||
runone($b, $v, $voices{$v}->{lang}, $voices{$v}->{defengine},
|
||||
"-1", $voices{$v}->{engines}->{$voices{$v}->{defengine}});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue