Ignore:
Timestamp:
Feb 19, 2010, 4:17:46 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • Adds function pb_check_requirements and use it in pb
  • Adds some conf params for rpmbootstrap in conf file
  • pb_distro_get_param now can expand some variables before returning a value
File:
1 edited

Legend:

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

    r969 r974  
    443443    $param = "";
    444444}
     445
     446# Allow replacement of variables inside the parameter such as ddir, dver, darch for rpmbootstrap
     447eval { $param =~ s/(\$\w+)/$1/eeg };
     448
    445449pb_log(2,"DEBUG: pb_distro_get_param on ",Dumper($opt)," returns $param\n");
    446450return($param);
Note: See TracChangeset for help on using the changeset viewer.