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
