Changeset 924 in MondoRescue for branches/stable/tools/mkchangelog.pl


Ignore:
Timestamp:
Nov 13, 2006, 9:57:05 AM (17 years ago)
Author:
Bruno Cornec
Message:

TAG is now per package and not shared anymore + build process adapted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/mkchangelog.pl

    r781 r924  
    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.