Translation scripts : Removing trailing / in scripts
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 17 Dec 2009 14:38:17 +0000 (15:38 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 28 Jan 2010 14:11:46 +0000 (15:11 +0100)
misc/translator/install-code.pl
misc/translator/install.pl

index 2c49da9..6077ab0 100755 (executable)
@@ -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;
     }
index 2b64495..ae5e4b9 100755 (executable)
@@ -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;