Index: /branches/ipp-magic-v0/psconfig/psbuild
===================================================================
--- /branches/ipp-magic-v0/psconfig/psbuild	(revision 21497)
+++ /branches/ipp-magic-v0/psconfig/psbuild	(revision 21498)
@@ -1,13 +1,20 @@
 #!/usr/bin/env perl
 
-# Get the CVS tag
+$tagsets = "tagsets";
+if (!-d $tagsets || !-r $tagsets || !-x $tagsets) { die "missing the directory of distribution tables: $tagsets\n"; }
+
+# Get the default CVS tag
 $cvsNameString= '$Name: not supported by cvs2svn $';
-if ( $cvsNameString =~ /\$Name: not supported by cvs2svn $/ ) {
+if ( $cvsNameString =~ /\$[N]ame: (.+) $/ ) {
     $cvsTag = $1;
 } 
-else { die "ERROR: cannot parse CVS tag string\n"; }
-
-$tagsets = "tagsets";
-if (!-d $tagsets || !-r $tagsets || !-x $tagsets) { die "missing the directory of distribution tables: $tagsets\n"; }
+else { 
+    @list = <$tagsets/*.dist>;
+
+    if ( $list[-1] =~ /$tagsets\/(.+)\.dist/ ) {
+        $cvsTag = $1;
+    }
+    else { die "ERROR: unable to determine version tag\n"; }
+}
 
 $version = "";
Index: /branches/ipp-magic-v0/psconfig/pschecklibs
===================================================================
--- /branches/ipp-magic-v0/psconfig/pschecklibs	(revision 21497)
+++ /branches/ipp-magic-v0/psconfig/pschecklibs	(revision 21498)
@@ -1,17 +1,20 @@
 #!/usr/bin/env perl
 
-# Get the CVS tag
+$tagsets = "tagsets";
+$needdev = 0;
+
+# Get the default CVS tag
 $cvsNameString= '$Name: not supported by cvs2svn $';
-if ( $cvsNameString =~ /\$Name: not supported by cvs2svn $/ ) {
+if ( $cvsNameString =~ /\$[N]ame: (.+) $/ ) {
     $cvsTag = $1;
 } 
-else { die "ERROR: cannot parse CVS tag string\n"; }
-# Strip off release version number if present
-if ( $cvsTag =~ /^(.+)\-\d*$/ ) {
-    $cvsTag = $1;
-}
-
-$tagsets = "tagsets";
-$needdev = 0;
+else { 
+    @list = <$tagsets/*.libs>;
+
+    if ( $list[-1] =~ /$tagsets\/(.+)\.libs/ ) {
+        $cvsTag = $1;
+    }
+    else { die "ERROR: unable to determine version tag\n"; }
+}
 
 # default system library locations
Index: /branches/ipp-magic-v0/psconfig/pscheckperl
===================================================================
--- /branches/ipp-magic-v0/psconfig/pscheckperl	(revision 21497)
+++ /branches/ipp-magic-v0/psconfig/pscheckperl	(revision 21498)
@@ -1,16 +1,19 @@
 #!/usr/bin/env perl
 
-# Get the CVS tag
+$tagsets = "tagsets";
+
+# Get the default CVS tag
 $cvsNameString= '$Name: not supported by cvs2svn $';
-if ( $cvsNameString =~ /\$Name: not supported by cvs2svn $/ ) {
+if ( $cvsNameString =~ /\$[N]ame: (.+) $/ ) {
     $cvsTag = $1;
 } 
-else { die "ERROR: cannot parse CVS tag string\n"; }
-# Strip off release version number if present
-if ( $cvsTag =~ /^(.+)\-\d*$/ ) {
-    $cvsTag = $1;
+else { 
+    @list = <$tagsets/*.perl>;
+
+    if ( $list[-1] =~ /$tagsets\/(.+)\.perl/ ) {
+        $cvsTag = $1;
+    }
+    else { die "ERROR: unable to determine version tag\n"; }
 }
-
-$tagsets = "tagsets";
 
 $version = "";
