IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2019, 9:50:57 AM (7 years ago)
Author:
eugene
Message:

add debug option to pscheckmods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pscheckmods

    r34087 r40672  
    77    shift @ARGV;
    88}
    9 if (@ARGV != 2) { die "USAGE: pscheckmods (module) (version)\n"; }
     9if (@ARGV > 2 && $ARGV[0] eq "-debug") {
     10    $DEBUG = 1;
     11    shift @ARGV;
     12}
     13if (@ARGV != 2) { die "USAGE: pscheckmods [-v] [-debug] (module) (version)\n"; }
    1014
    1115if ($VERBOSE) { print STDERR "checking in @INC\n"; }
     
    4549          print "real: $realfilename\n" if $DEBUG;
    4650          if (-f $realfilename) {
     51              print "my filename: $filename\n" if $DEBUG;
    4752              $INC{$filename} = $realfilename;
    4853              print "calling 'do' on $realfilename\n" if $DEBUG;
Note: See TracChangeset for help on using the changeset viewer.