Changeset 982 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Base.pm


Ignore:
Timestamp:
Feb 19, 2010, 5:30:20 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • Fix variable substitution which was too aggressive in pb_distro_get_param
File:
1 edited

Legend:

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

    r974 r982  
    400400
    401401my $cmds = shift || "";
    402 my $opts = shift || "";
     402my $options = shift || "";
    403403
    404404# cmds is a string of coma separated commands
    405 foreach my $file (split(/,/,$cmds) {
     405foreach my $file (split(/,/,$cmds)) {
    406406    pb_check_req($file,0);
    407407}
    408408
    409409# opts is a string of coma separated commands
    410 foreach my $file (split(/,/,$opts) {
     410foreach my $file (split(/,/,$options)) {
    411411    pb_check_req($file,1);
    412412}
Note: See TracChangeset for help on using the changeset viewer.