Changeset 897 in ProjectBuilder
- Timestamp:
- Nov 10, 2009, 1:23:15 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r892 r897 545 545 } 546 546 # If it's a test version, then tag == 0.date 547 if ( defined $testver->{$ENV{'PBPROJ'}}) {547 if ((defined $testver) && (defined $testver->{$ENV{'PBPROJ'}}) && ($testver->{$ENV{'PBPROJ'}} =~ /true/i)) { 548 548 $pbtag = "0.".strftime("%Y%m%d%H%M%S", @date); 549 549 $ENV{'PBPROJTAG'} = $pbtag; … … 1729 1729 1730 1730 my ($verpmtype) = pb_conf_get("verpmtype"); 1731 if (($create != 0) || ($verebuild->{$ENV{'PBPROJ'}} eq "true") || ($pbforce == 1)) {1731 if (($create != 0) || ($verebuild->{$ENV{'PBPROJ'}} =~ /true/i) || ($pbforce == 1)) { 1732 1732 # We have to rebuild the chroot 1733 1733 if ($dtype eq "rpm") { … … 2027 2027 s/^projver\s+$ENV{'PBPROJ'}\s*=\s*$oldver/projver $ENV{'PBPROJ'} = $newver/; 2028 2028 pb_log(0,"Changing projver from $oldver to $newver in $ENV{'PBROOTDIR'}/../$newver/$ENV{'PBPROJ'}.pb\n") if (/^projver\s+$ENV{'PBPROJ'}\s*=\s*$oldver/); 2029 pb_log(0,"Commenting testver in $ENV{'PBROOTDIR'}/../$newver/$ENV{'PBPROJ'}.pb\n") if (/^testver/); 2029 2030 s/^testver/#testver/; 2030 pb_log(0,"Commenting testver in $ENV{'PBROOTDIR'}/../$newver/$ENV{'PBPROJ'}.pb\n") if (/^testver/);2031 2031 print OUT $_; 2032 2032 }
Note:
See TracChangeset
for help on using the changeset viewer.