Changeset 13588 in osm for applications/editors
- Timestamp:
- 2009-02-08T12:38:08+01:00 (16 years ago)
- Location:
- applications/editors/josm/dist
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/dist/getversions
r10333 r13588 14 14 my $date = ""; 15 15 my $version = ""; 16 my $mversion = ""; 16 17 my $manifest = `unzip -c $plugin META-INF/MANIFEST.MF`; 17 18 if($manifest) … … 19 20 $date = $1 if $manifest =~ /Plugin-Date: ([^\r\n]+)/; 20 21 $version = $1 if $manifest =~ /Plugin-Version: ([^\r\n]+)/; 22 $mversion = $1 if $manifest =~ /Plugin-Mainversion: ([^\r\n]+)/; 21 23 } 22 printf "%-${maxlength}s %28s %6s ", $plugin,$date,$version;24 printf "%-${maxlength}s %28s %6s (%4s)", $plugin,$date,$version,$mversion; 23 25 my $svnfile = ".svn/text-base/$plugin.svn-base"; 24 26 if(-f $svnfile && ($manifest = `unzip -c $svnfile META-INF/MANIFEST.MF`))
Note:
See TracChangeset
for help on using the changeset viewer.