Changeset 13588 in osm


Ignore:
Timestamp:
2009-02-08T12:38:08+01:00 (16 years ago)
Author:
stoecker
Message:

updated

Location:
applications/editors/josm/dist
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/dist/getversions

    r10333 r13588  
    1414  my $date = "";
    1515  my $version = "";
     16  my $mversion = "";
    1617  my $manifest = `unzip -c $plugin META-INF/MANIFEST.MF`;
    1718  if($manifest)
     
    1920    $date = $1 if $manifest =~ /Plugin-Date: ([^\r\n]+)/;
    2021    $version = $1 if $manifest =~ /Plugin-Version: ([^\r\n]+)/;
     22    $mversion = $1 if $manifest =~ /Plugin-Mainversion: ([^\r\n]+)/;
    2123  }
    22   printf "%-${maxlength}s %28s %6s", $plugin,$date,$version;
     24  printf "%-${maxlength}s %28s %6s (%4s)", $plugin,$date,$version,$mversion;
    2325  my $svnfile = ".svn/text-base/$plugin.svn-base";
    2426  if(-f $svnfile && ($manifest = `unzip -c $svnfile META-INF/MANIFEST.MF`))
Note: See TracChangeset for help on using the changeset viewer.