Changeset 21498
- Timestamp:
- Feb 15, 2009, 5:45:22 PM (17 years ago)
- Location:
- branches/ipp-magic-v0/psconfig
- Files:
-
- 3 edited
-
psbuild (modified) (1 diff)
-
pschecklibs (modified) (1 diff)
-
pscheckperl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-magic-v0/psconfig/psbuild
r21497 r21498 1 1 #!/usr/bin/env perl 2 2 3 # Get the CVS tag 3 $tagsets = "tagsets"; 4 if (!-d $tagsets || !-r $tagsets || !-x $tagsets) { die "missing the directory of distribution tables: $tagsets\n"; } 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 10 $tagsets = "tagsets"; 11 if (!-d $tagsets || !-r $tagsets || !-x $tagsets) { die "missing the directory of distribution tables: $tagsets\n"; } 11 else { 12 @list = <$tagsets/*.dist>; 13 14 if ( $list[-1] =~ /$tagsets\/(.+)\.dist/ ) { 15 $cvsTag = $1; 16 } 17 else { die "ERROR: unable to determine version tag\n"; } 18 } 12 19 13 20 $version = ""; -
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 -
branches/ipp-magic-v0/psconfig/pscheckperl
r21497 r21498 1 1 #!/usr/bin/env perl 2 2 3 # Get the CVS tag 3 $tagsets = "tagsets"; 4 5 # Get the default CVS tag 4 6 $cvsNameString= '$Name: not supported by cvs2svn $'; 5 if ( $cvsNameString =~ /\$ Name: not supported by cvs2svn$/ ) {7 if ( $cvsNameString =~ /\$[N]ame: (.+) $/ ) { 6 8 $cvsTag = $1; 7 9 } 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; 10 else { 11 @list = <$tagsets/*.perl>; 12 13 if ( $list[-1] =~ /$tagsets\/(.+)\.perl/ ) { 14 $cvsTag = $1; 15 } 16 else { die "ERROR: unable to determine version tag\n"; } 12 17 } 13 14 $tagsets = "tagsets";15 18 16 19 $version = "";
Note:
See TracChangeset
for help on using the changeset viewer.
