Changeset 5987 in /cluster/svnroot


Ignore:
Timestamp:
Jan 25, 2018 8:25:11 PM (3 years ago)
Author:
skylar
Message:

use BUILD_BASE if available re #1002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.3.4/bin/build_livecd.pl

    r5986 r5987  
    100100}
    101101
    102 print STDERR "Options: ".Dumper(%opts);
    103 
    104102Readonly my $PROJECT => 'bccd';
    105 $ft = new File::Temp(DIR => $opts{'BUILD_BASE'});
    106 if(defined($opts{'DIR'})) {
     103if(defined($opts{'BUILD_BASE'})) {
     104    $ft = new File::Temp(DIR => $opts{'BUILD_BASE'});
     105}
     106elsif(defined($opts{'DIR'})) {
    107107        $dir = $opts{'DIR'};
    108 } else {
     108}
     109else {
    109110        $dir = File::Spec->tmpdir;
    110111}
Note: See TracChangeset for help on using the changeset viewer.