Changeset 21498 for branches/ipp-magic-v0/psconfig/pschecklibs
- Timestamp:
- Feb 15, 2009, 5:45:22 PM (17 years ago)
- File:
-
- 1 edited
-
branches/ipp-magic-v0/psconfig/pschecklibs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-magic-v0/psconfig/pschecklibs
r21497 r21498 1 1 #!/usr/bin/env perl 2 2 3 # Get the CVS tag 3 $tagsets = "tagsets"; 4 $needdev = 0; 5 6 # Get the default CVS tag 4 7 $cvsNameString= '$Name: not supported by cvs2svn $'; 5 if ( $cvsNameString =~ /\$ Name: not supported by cvs2svn$/ ) {8 if ( $cvsNameString =~ /\$[N]ame: (.+) $/ ) { 6 9 $cvsTag = $1; 7 10 } 8 else { die "ERROR: cannot parse CVS tag string\n"; }9 # Strip off release version number if present 10 if ( $cvsTag =~ /^(.+)\-\d*$/ ) { 11 $cvsTag = $1;12 } 13 14 $tagsets = "tagsets"; 15 $needdev = 0; 11 else { 12 @list = <$tagsets/*.libs>; 13 14 if ( $list[-1] =~ /$tagsets\/(.+)\.libs/ ) { 15 $cvsTag = $1; 16 } 17 else { die "ERROR: unable to determine version tag\n"; } 18 } 16 19 17 20 # default system library locations
Note:
See TracChangeset
for help on using the changeset viewer.
