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/pschecklibs

    r20298 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"; }
     9# Strip off release version number if present
     10if ( $cvsTag =~ /^(.+)\-\d*$/ ) {
     11    $cvsTag = $1;
     12}
    213
    314$tagsets = "tagsets";
     
    3950
    4051if ( @ARGV == 0) {
    41     @list = <$tagsets/*.libs>;
    42     $file = $list[-1];
     52    $defaultversion=$cvsTag;
     53    $file="$tagsets/$defaultversion.libs";
    4354} else {
    4455    $file = "$tagsets/$ARGV[0].libs";
Note: See TracChangeset for help on using the changeset viewer.