Changeset 26849 in osm for applications/editors/josm/i18n/launchpad.pl
- Timestamp:
- 2011-10-13T17:10:44+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/launchpad.pl
r25528 r26849 12 12 else 13 13 { 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"; 16 17 system "wget $ARGV[0]"; 17 18 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"`)) 20 21 { 21 22 my $a=$name; … … 41 42 my $outdate = `date -u +"%Y-%m-%dT%H_%M_%S"`; 42 43 chomp $outdate; 43 mkdir "josm"; 44 system "cp po/*.po po/josm.pot josm"; 44 mkdir "build/josm"; 45 system "cp po/*.po po/josm.pot build/josm"; 46 chdir "build"; 45 47 if(!$count) 46 48 { … … 59 61 } 60 62 system "rm -rv josm new"; 63 chdir "..";
Note:
See TracChangeset
for help on using the changeset viewer.