Changeset 7394 for inc

Show
Ignore:
Timestamp:
10/07/05 18:15:48 (3 years ago)
Author:
autrijus
Message:

* build fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/PugsBuild/Config.pm

    r7382 r7394  
    55 
    66use File::Copy; 
    7 use File::Spec; 
    87 
    98# change these two lines if it turns out we need the real YAML.pm 
     
    3938    my($class, $filename) = @_; 
    4039    my $config_default    = 'config.yml'; 
    41     my $config_template   = File::Spec->canonpath('util/config-template.yml'); 
     40    my $config_template   = 'util/config-template.yml'; 
    4241    $filename           ||= $ENV{PUGS_BUILD_CONFIG} || $config_default; 
    4342    my $stream; 
     
    4746        File::Copy::copy ($config_template, $filename) or 
    4847            die "copy: $!"; 
    49         warn <<"."; 
     48        print <<"."; 
    5049*** Default build config file created. Edit your settings in $filename. 
     50 
    5151. 
    5252    }        
     
    5757     
    5858    if (-M $filename > -M $config_template) { 
    59         warn <<"."; 
     59        print <<"."; 
    6060*** Build config file '$filename' is older than template 
    61     '$config_template'.  I will merge them for you, but 
    62     you may wish to check for new settings. 
     61    '$config_template'.  I will merge them in memory, but 
     62    you may wish to check for new settings and edit the old 
     63    config file by hand. 
    6364 
    6465.