[Koha-patches] [PATCH 86/92] Translation scripts : Removing trailing / in scripts

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Tue Dec 22 01:21:19 CET 2009


---
 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 2c49da9..6077ab0 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 2b64495..ae5e4b9 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;
 
-- 
1.6.3.3




More information about the Koha-patches mailing list