Changeset 1130 in ProjectBuilder for devel/pb/lib
- Timestamp:
- Dec 22, 2010, 4:01:42 AM (14 years ago)
- Location:
- devel/pb/lib/ProjectBuilder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/Env.pm
r1113 r1130 555 555 filter PBDATE = \$pb->{'date'} 556 556 557 # PBPATCHSRC is replaced by the patches names if value is yes 557 # PBPATCHSRC is replaced by the patches names if value is yes. Patches are located under the pbpatch dir of the pkg. 558 558 #filter PBPATCHSRC = yes 559 559 560 560 # PBPATCHCMD is replaced by the patches commands if value is yes 561 561 #filter PBPATCHCMD = yes 562 563 # PBMULTISRC is replaced by the sources names if value is yes. Sources are located under the pbsrc dir of the pkg. 564 #filter PBMULTISRC = yes 562 565 563 566 # PBTAG is replaced by the tag (\$pb->{'tag'} in code) -
devel/pb/lib/ProjectBuilder/Filter.pm
r1044 r1130 177 177 } 178 178 $tmp = ""; 179 } elsif (($s =~ /^PBMULTISRC$/) && ($line =~ /^PBMULTISRC$/)) { 180 pb_log(3,"DEBUG filtering PBMULTISRC\n"); 181 my $i = 1; 182 foreach my $p (split(/,/,$pb->{'sources'}->{$pb->{'tuple'}})) { 183 print DEST "Source$i: ".basename($p)."\n"; 184 $i++; 185 } 186 $tmp = ""; 179 187 } elsif (($s =~ /^PBPATCHCMD$/) && ($line =~ /^PBPATCHCMD$/)) { 180 188 pb_log(3,"DEBUG filtering PBPATCHCMD\n");
Note:
See TracChangeset
for help on using the changeset viewer.