Changeset 8453


Ignore:
Timestamp:
08/11/10 00:53:42 (22 months ago)
Author:
SvenDowideit
Message:

Item9453: allow the core build.pl to guess the FOSWIKI_LIBS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BuildContrib/build.pl

    r1150 r8453  
    3838} 
    3939 
     40use Cwd; 
     41if (!defined($ENV{FOSWIKI_LIBS})) { 
     42        #seeing as we're in the core dir... lets try. 
     43        print "Guessing FOSWIKI_LIBS setting as ".cwd().'/core/lib'."\n"; 
     44        $ENV{FOSWIKI_LIBS} = cwd().'/core/lib'; 
     45} 
     46 
    4047my $call = './build.pl '.$arg.' '.$target; 
    41 print "calling build.pl in $scriptDir\n" if ($arg eq '-v'); 
     48print "calling '$call' in $scriptDir\n" if ($arg eq '-v'); 
    4249 
    43 use Cwd; 
    4450chdir($scriptDir); 
    4551print `$call`; 
Note: See TracChangeset for help on using the changeset viewer.