Changeset 7342 for inc

Show
Ignore:
Timestamp:
10/06/05 18:35:16 (3 years ago)
Author:
iblech
Message:

* PugsBuild::Config: Honour the new PUGS_BUILD_CONFIG env var.
* pugs::run: Document this new var.
* util/run-smoke.pl: Added appropriate use lib File::Spec->catdir(...) so

PugsBuild::Config can be loaded without -I or $PERLLIB.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/PugsBuild/Config.pm

    r7340 r7342  
    3939    my $stream; 
    4040     
    41     if (!-e ($filename ||= "config.yml")) { 
     41    if (!-e ($filename ||= ($ENV{PUGS_BUILD_CONFIG} || "config.yml"))) { 
    4242        require File::Copy; 
    4343        File::Copy::copy ('util/config-template.yml', $filename) or