Changeset 328 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Feb 22, 2008, 12:00:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r327 r328 229 229 230 230 # Get project info on authors and log file 231 my $chglog = "$ENV{'PB CONF'}/$pbpkg/pbcl";232 $chglog = "$ENV{'PB CONF'}/pbcl" if (! -f $chglog);231 my $chglog = "$ENV{'PBROOT'}/$pbpkg/pbcl"; 232 $chglog = "$ENV{'PBROOT'}/pbcl" if (! -f $chglog); 233 233 $chglog = undef if (! -f $chglog); 234 234 235 my $authors = "$ENV{'PB CONF'}/$pbpkg/pbauthors";236 $authors = "$ENV{'PB CONF'}/pbauthors" if (! -f $authors);235 my $authors = "$ENV{'PBROOT'}/$pbpkg/pbauthors"; 236 $authors = "$ENV{'PBROOT'}/pbauthors" if (! -f $authors); 237 237 $authors = "/dev/null" if (! -f $authors); 238 238 … … 242 242 copy($chglog,"$dest/NEWS") || die "Unable to create $dest/NEWS"; 243 243 } 244 pb_cms_log($scheme, $dir,$dest,$chglog,$authors);244 pb_cms_log($scheme,"$ENV{'PBDIR'}/$pbprojver/$dir",$dest,$chglog,$authors); 245 245 246 246 my %build; 247 247 248 my ($ptr) = pb_conf_get_if("vmlist","velist"); 249 foreach my $d (split(/,/,$ptr->{$ENV{'PBPROJ'}})) { 248 my @pt; 249 @pt = pb_conf_get_if("vmlist","velist"); 250 foreach my $d (split(/,/,$pt[0]->{$ENV{'PBPROJ'}}),split(/,/,$pt[1]->{$ENV{'PBPROJ'}})) { 250 251 my ($name,$ver,$arch) = split(/-/,$d); 251 252 chomp($arch); … … 261 262 my %bfiles = (); 262 263 my %pkgfiles = (); 263 pb_log(2,"DEBUG dir: $ENV{'PBCONF'}/$pbpkg\n");264 264 $build{"$ddir-$dver"} = "yes"; 265 265
Note:
See TracChangeset
for help on using the changeset viewer.