Fixing some whitespace issues in misc/translator/update.pl

This commit is contained in:
Chris Cormack 2009-12-27 08:16:59 +13:00
parent b269451d7b
commit 4527efb078
1 changed files with 9 additions and 9 deletions

View File

@ -9,15 +9,15 @@ my $dir = "po";
my $po;
opendir (DIR,$dir);
while (defined($po = readdir(DIR))) {
next if $po =~ /^\.\.?$/;
print "processing $po...\n";
my $interface = 'intranet';
if ($po =~ /opac/) {
$interface = 'opac';
}
system("./tmpl_process3.pl update -i ../../koha-tmpl/$interface-tmpl/prog/en/ -s po/$po -r");
print "Finished\n";
while (defined($po = readdir(DIR))) {
next if $po =~ /^\.\.?$/;
print "processing $po...\n";
my $interface = 'intranet';
if ($po =~ /opac/) {
$interface = 'opac';
}
system("./tmpl_process3.pl update -i ../../koha-tmpl/$interface-tmpl/prog/en/ -s po/$po -r");
print "Finished\n";
}
closedir DIR;