IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 15, 2009, 5:13:24 PM (17 years ago)
Author:
welling
Message:

Improved way of picking out a default tag for selection of appropriate
tagset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ipp-magic-v0/psconfig/psbuild

    r19883 r21497  
    11#!/usr/bin/env perl
     2
     3# Get the CVS tag
     4$cvsNameString= '$Name: not supported by cvs2svn $';
     5if ( $cvsNameString =~ /\$Name: not supported by cvs2svn $/ ) {
     6    $cvsTag = $1;
     7}
     8else { die "ERROR: cannot parse CVS tag string\n"; }
    29
    310$tagsets = "tagsets";
     
    96103
    97104if ( @ARGV == 0) {
    98     @list = <$tagsets/*.dist>;
    99     $distribution = $list[-1];
     105    $defaultversion = $cvsTag;
     106    $file="$tagsets/$defaultversion.dist";
    100107} else {
    101108    $distribution = "$tagsets/$ARGV[0].dist";
Note: See TracChangeset for help on using the changeset viewer.