IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12142


Ignore:
Timestamp:
Mar 1, 2007, 11:14:21 AM (19 years ago)
Author:
eugene
Message:

various fixes to distribution tools

Location:
trunk/psconfig
Files:
4 added
7 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psbuild

    r12136 r12142  
    186186
    187187sub list_distributions {
    188     @list = <$tagsets/*.dst>;
     188    @list = <$tagsets/*.dist>;
    189189    foreach $line (@list) {
    190190        chomp $line;
    191         ($dist) = $line =~ m|$tagsets/(\S*).dst|;
     191        ($dist) = $line =~ m|$tagsets/(\S*).dist|;
    192192        print STDERR "$dist\n";
    193193    }
     
    198198    # open and read the distribution file
    199199    # results go into @cvsname, @branchtag, @branchver, @mode
    200     $file = "$tagsets/$ARGV[0].dst";
     200    $file = "$tagsets/$ARGV[0].dist";
    201201    open (FILE, $file) || die "ERROR: can't open distribution file $file\n";
    202202    @list = <FILE>;
  • trunk/psconfig/psconfig.sh

    r12134 r12142  
    88set show_arch = 0
    99set show_path = 0
     10set show_include = 0
    1011set show_configure = 0
    1112set show_autogen = 0
     
    3536      set show_bin = 1
    3637      breaksw
     38    case --include
     39      set show_include = 1
     40      breaksw
    3741    case --psconfigure:
    3842      set show_configure = 1
     
    306310  exit 0
    307311endif
     312if ($show_include) then
     313  echo $PSCONFDIR/$PSVERSION.$ARCH/include
     314  exit 0
     315endif
    308316
    309317# list the defined psconfig versions
  • trunk/psconfig/psdist

    r12136 r12142  
    212212
    213213sub list_distributions {
    214     @list = <$tagsets/*.dst>;
     214    @list = <$tagsets/*.dist>;
    215215    foreach $line (@list) {
    216216        chomp $line;
    217         ($dist) = $line =~ m|$tagsets/(\S*).dst|;
     217        ($dist) = $line =~ m|$tagsets/(\S*).dist|;
    218218        print STDERR "$dist\n";
    219219    }
     
    224224    # open and read the distribution file
    225225    # results go into @cvsname, @branchtag, @branchver, @mode
    226     $file = "$tagsets/$ARGV[0].dst";
     226    $file = "$tagsets/$ARGV[0].dist";
    227227    open (FILE, $file) || die "ERROR: can't open distribution file $file\n";
    228228    @list = <FILE>;
Note: See TracChangeset for help on using the changeset viewer.