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


Ignore:
Timestamp:
May 9, 2012, 2:46:34 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Base.pm: add pb_path_expand to do the path expansion for config values. Print out all sudo'd commands if we haven't already so people know what they're typing their passwords in for. (Eric Anderson from aaf4d2337ab1554ba0c1f894108b3edc90996f69)
  • Env.pm: use pb_path_expand instead of inline expansion. (Eric Anderson from aaf4d2337ab1554ba0c1f894108b3edc90996f69)
  • VE.pm: Error out if vetype isn't defined; improve variable name, and verify that we don't try to launch a mips ve on x86_64 (previous check only prevented x86_64 on ix86). Use pb_path_expand to expand out the vepath also. Make sure to create the path to the VE before we try to bootstrap it. (Eric Anderson from aaf4d2337ab1554ba0c1f894108b3edc90996f69)
File:
1 edited

Legend:

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

    r1495 r1506  
    249249}
    250250# Expand potential env variable in it
    251 eval { $ENV{'PBDEFDIR'} =~ s/(\$ENV.+\})/$1/eeg };
    252 
     251$ENV{PBDEFDIR} = pb_path_expand($ENV{PBDEFDIR});
    253252pb_log(2,"PBDEFDIR: $ENV{'PBDEFDIR'}\n");
    254253
Note: See TracChangeset for help on using the changeset viewer.