Changeset 932 in MondoRescue for trunk/tools/mkchangelog.pl


Ignore:
Timestamp:
Nov 15, 2006, 12:40:15 PM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r913:931 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mkchangelog.pl

    r782 r932  
    2525my $ver2 = "";
    2626my $date = "";
     27my $tag = "";
    2728
    2829# For date handling
     
    5859    }
    5960}
     61$tmp="$TOOLHOME/../$pkg/TAG";
     62if (-f "$tmp") {
     63    open(TAG,"$tmp") || die "Unable to open $tmp";
     64    $tag = <TAG>;
     65    chomp($tag);
     66} else {
     67    die "Unable to find a TAG file for $pkg\n";
     68}
    6069#print "Using $chglog as input ChangeLog file for $pkg\n";
    6170
     
    9099        if ($ver !~ /-/) {
    91100            if ($first eq 1) {
    92                 $ver2 = "$ver-$ENV{TAG}"."$ENV{suf}";
     101                $ver2 = "$ver-$tag"."$ENV{suf}";
    93102                $first=0;
    94103            } else {
Note: See TracChangeset for help on using the changeset viewer.