Index: /trunk/psconfig/pscheckperl
===================================================================
--- /trunk/psconfig/pscheckperl	(revision 16041)
+++ /trunk/psconfig/pscheckperl	(revision 16042)
@@ -4,5 +4,5 @@
 
 $version = "";
-$check = 1;
+$build = 0;
 @tARGV = ();
 for (; @ARGV > 0; ) {
@@ -12,5 +12,5 @@
     }
     if ($ARGV[0] eq "-build") {
-	$check = 0;
+	$build = 1;
         shift; next;
     }
@@ -57,5 +57,5 @@
 print "PERL5LIB: $ENV{'PERL5LIB'}\n";
 
-if (!$check && ! -d $PSCONFDIR) {
+if ($build && ! -d $PSCONFDIR) {
     mkdir $PSCONFDIR || die "unable to create psconfig dir $PSCONFDIR";
 }
@@ -78,5 +78,5 @@
 
     print "$module: missing\n";
-    if ($check) { 
+    if (!$build) { 
 	$Nmissing ++;
 	push @missing, $module;
@@ -112,5 +112,5 @@
     chdir $homedir;
 }
-if ($check) {
+if (!$build) {
     if ($Nmissing > 0) {
 	print "The following $Nmissing perl modules are missing from your system\n";
