Changeset 963 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Feb 8, 2010, 3:47:36 AM (15 years ago)
- Location:
- devel/pb-modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.conf
r962 r963 224 224 osremovedotinver redhat = true 225 225 226 # These deps are needed before setupvm can be run.226 # These deps are needed before setupvm|ve can be run. 227 227 # Install them with your distribution in VM or automatically in VE 228 228 osmindep default = perl,sudo,wget,tar,make,gzip -
devel/pb-modules/lib/ProjectBuilder/Conf.pm
r932 r963 93 93 # Add the new one at the end 94 94 my $num = keys %pbconffiles; 95 pb_log(2,"DEBUG: pb_conf_add $cf at position $num\n"); 95 96 $pbconffiles{$cf} = $num; 96 97 } … … 169 170 =item B<pb_conf_get_if> 170 171 171 This function returns a table, corresponding to a set of values quer ried in the conf files or undef if it doen't exist. It takes a table of keys as an input parameter.172 This function returns a table, corresponding to a set of values queried in the conf files or undef if it doen't exist. It takes a table of keys as an input parameter. 172 173 173 174 The format of the configurations file is as follows: … … 206 207 # the most important conf file is first, so read them in reverse order 207 208 foreach my $f (reverse sort { $pbconffiles{$a} <=> $pbconffiles{$b} } keys %pbconffiles) { 209 pb_log(2,"DEBUG: pb_conf_get_if in file $f\n"); 208 210 $ptr = pb_conf_get_fromfile_if("$f",$ptr,@param); 209 211 } … … 241 243 my $p2; 242 244 243 pb_log(2,"DEBUG: pb_conf_get $conffile: ".Dumper(@ptr1)."\n");244 pb_log(2,"DEBUG: pb_conf_get input: ".Dumper(@ptr2)."\n");245 pb_log(2,"DEBUG: pb_conf_get param: ".Dumper(@param)."\n");245 pb_log(2,"DEBUG: pb_conf_get_from_file $conffile: ".Dumper(@ptr1)."\n"); 246 pb_log(2,"DEBUG: pb_conf_get_from_file input: ".Dumper(@ptr2)."\n"); 247 pb_log(2,"DEBUG: pb_conf_get_from_file param: ".Dumper(@param)."\n"); 246 248 247 249 foreach my $i (0..$#param) { -
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r962 r963 439 439 $param = $opt->{"default"}; 440 440 } else { 441 $param = " unknown";441 $param = ""; 442 442 } 443 443 return($param);
Note:
See TracChangeset
for help on using the changeset viewer.