From 0fa37b5bb40c44242f6c85ce8346812c47730489 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 17 Dec 2009 15:38:17 +0100 Subject: [PATCH] Translation scripts : Removing trailing / in scripts --- misc/translator/install-code.pl | 2 +- misc/translator/install.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/translator/install-code.pl b/misc/translator/install-code.pl index 2c49da9a4e..6077ab036c 100755 --- a/misc/translator/install-code.pl +++ b/misc/translator/install-code.pl @@ -33,7 +33,7 @@ sub install_code { print $_, " : ", $interface, "\n"; my $cmd = "./tmpl_process3.pl install -r " . "-i ../../koha-tmpl/$interface-tmpl/prog/en/ " . - "-o ../../koha-tmpl/$interface-tmpl/prog/$code/ " . + "-o ../../koha-tmpl/$interface-tmpl/prog/$code " . "-s po/$_"; system $cmd; } diff --git a/misc/translator/install.pl b/misc/translator/install.pl index 2b64495751..ae5e4b9f68 100755 --- a/misc/translator/install.pl +++ b/misc/translator/install.pl @@ -15,7 +15,7 @@ while (defined($po = readdir(DIR))) { my ($lang,$interface) = ($1,$2); $interface =~ s/staff/intranet/; system("mkdir ../../koha-tmpl/$interface-tmpl/prog/$lang"); - system("./tmpl_process3.pl install -i ../../koha-tmpl/$interface-tmpl/prog/en/ -o ../../koha-tmpl/$interface-tmpl/prog/$lang/ -s po/$po -r"); + system("./tmpl_process3.pl install -i ../../koha-tmpl/$interface-tmpl/prog/en/ -o ../../koha-tmpl/$interface-tmpl/prog/$lang -s po/$po -r"); } closedir DIR; -- 2.39.5