Changeset 2287 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Env.pm


Ignore:
Timestamp:
Sep 4, 2017, 1:21:18 PM (7 years ago)
Author:
Bruno Cornec
Message:

Fix usage of labels in env var (normalize with 'LABEL'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Env.pm

    r2284 r2287  
    274274}
    275275# Expand potential env variable in it
    276 $ENV{PBDEFDIR} = pb_path_expand($ENV{PBDEFDIR});
     276$ENV{'PBDEFDIR'} = pb_path_expand($ENV{'PBDEFDIR'});
    277277pb_log(1,"PBDEFDIR: $ENV{'PBDEFDIR'}\n");
    278278
     
    293293    }
    294294}
    295 $ENV{PBPROJDIR} = pb_path_expand($ENV{PBPROJDIR});
     295$ENV{'PBPROJDIR'} = pb_path_expand($ENV{'PBPROJDIR'});
    296296
    297297my $pbconfpath = "$ENV{'PBDEFDIR'}/$ENV{'PBPROJ'}";
Note: See TracChangeset for help on using the changeset viewer.