IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23409


Ignore:
Timestamp:
Mar 18, 2009, 3:58:45 PM (17 years ago)
Author:
eugene
Message:

add option to define trunk location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psbuild

    r23229 r23409  
    1414$verbose = 0;
    1515$use_svn = 1;
     16$svn_trunk = "";
    1617
    1718$extlibs = "none";
     
    3435    if ($ARGV[0] eq "-extperl") {
    3536        $extperl = $ARGV[1];
     37        shift; shift; next;
     38    }
     39    if ($ARGV[0] eq "-trunk") {
     40        $svn_trunk = $ARGV[1];
    3641        shift; shift; next;
    3742    }
     
    293298        print "\033]0; ** psbuild: $module[$i] ** \007";
    294299
     300        if ($svn_trunk && (!-d $workdir || !-r $workdir || !-x $workdir)) {
     301            # try trunk instead
     302            print STDERR "$module[$i] missing from local path, trying trunk path\n";
     303            $workdir = "$svn_trunk/$module[$i]";
     304        }
     305
    295306        if (!-d $workdir || !-r $workdir || !-x $workdir) {
    296307            print STDERR "WARNING: no directory for component $module[$i], skipping\n";
Note: See TracChangeset for help on using the changeset viewer.