Ignore:
Timestamp:
2011-10-13T17:10:44+02:00 (13 years ago)
Author:
stoecker
Message:

JOSM i18n update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/launchpad.pl

    r25528 r26849  
    1212else
    1313{
    14     mkdir "new";
    15     die "Could not change into new data dir." if !chdir "new";
     14    mkdir "build";
     15    mkdir "build/new";
     16    die "Could not change into new data dir." if !chdir "build/new";
    1617    system "wget $ARGV[0]";
    1718    system "tar -xf laun*";
    18     chdir "..";
    19     foreach my $name (split("\n", `find new -name "*.po"`))
     19    chdir "../..";
     20    foreach my $name (split("\n", `find build/new -name "*.po"`))
    2021    {
    2122      my $a=$name;
     
    4142my $outdate = `date -u +"%Y-%m-%dT%H_%M_%S"`;
    4243chomp $outdate;
    43 mkdir "josm";
    44 system "cp po/*.po po/josm.pot josm";
     44mkdir "build/josm";
     45system "cp po/*.po po/josm.pot build/josm";
     46chdir "build";
    4547if(!$count)
    4648{
     
    5961}
    6062system "rm -rv josm new";
     63chdir "..";
Note: See TracChangeset for help on using the changeset viewer.