Changeset 26849 in osm for applications/editors
- Timestamp:
- 2011-10-13T17:10:44+02:00 (13 years ago)
- Location:
- applications/editors/josm
- Files:
-
- 9 added
- 117 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r26716 r26849 101 101 </delete> 102 102 </target> 103 <target name="test"> 104 <mkdir dir="${i18n.build.dir}/test"/> 105 <exec executable="perl"> 106 <arg line="i18n.pl ${i18n.build.dir}/test/ po/*.po"/> 107 </exec> 108 </target> 103 109 </project> -
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.