Changeset 7382 for inc

Show
Ignore:
Timestamp:
10/07/05 12:04:43 (3 years ago)
Author:
gaal
Message:

use canonpath

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/PugsBuild/Config.pm

    r7369 r7382  
    55 
    66use File::Copy; 
     7use File::Spec; 
    78 
    89# change these two lines if it turns out we need the real YAML.pm 
     
    3839    my($class, $filename) = @_; 
    3940    my $config_default    = 'config.yml'; 
    40     my $config_template   = 'util/config-template.yml'; 
     41    my $config_template   = File::Spec->canonpath('util/config-template.yml'); 
    4142    $filename           ||= $ENV{PUGS_BUILD_CONFIG} || $config_default; 
    4243    my $stream;