Changeset 21497 for branches/ipp-magic-v0/psconfig/pscheckperl
- Timestamp:
- Feb 15, 2009, 5:13:24 PM (17 years ago)
- File:
-
- 1 edited
-
branches/ipp-magic-v0/psconfig/pscheckperl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-magic-v0/psconfig/pscheckperl
r17490 r21497 1 1 #!/usr/bin/env perl 2 3 # Get the CVS tag 4 $cvsNameString= '$Name: not supported by cvs2svn $'; 5 if ( $cvsNameString =~ /\$Name: not supported by cvs2svn $/ ) { 6 $cvsTag = $1; 7 } 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 } 2 13 3 14 $tagsets = "tagsets"; … … 32 43 33 44 if ( @ARGV == 0) { 34 @list = <$tagsets/*.perl>;35 $file = $list[-1];45 $defaultversion=$cvsTag; 46 $file="$tagsets/$defaultversion.perl"; 36 47 } else { 37 48 $file = "$tagsets/$ARGV[0].perl";
Note:
See TracChangeset
for help on using the changeset viewer.
