- Timestamp:
- Feb 24, 2011, 11:14:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1218 r1219 1230 1230 pb_extract_build_files($src2,"$pbpkg-$pbver/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbpatch/","$ENV{'PBBUILDDIR'}/SOURCES","patch"); 1231 1231 1232 # We need to handle potential additional sources to upstream sources 1233 pb_extract_build_files($src2,"$pbpkg-$pbver/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbsrc/","$ENV{'PBBUILDDIR'}/SOURCES","src"); 1234 1232 1235 pb_log(2,"specfile: ".Dumper(\@specfile)."\n"); 1233 1236 # set LANGUAGE to check for correct log messages … … 3555 3558 my @files; 3556 3559 3557 my $flag = "mayfail" if ( $mandatory eq "patch");3560 my $flag = "mayfail" if (($mandatory eq "patch") || ($mandatory eq "src")); 3558 3561 my $res; 3559 3562 … … 3566 3569 } 3567 3570 # If not mandatory return now 3568 return() if (($res != 0) and ( $mandatory eq "patch"));3571 return() if (($res != 0) and (($mandatory eq "patch") || ($mandatory eq "src")); 3569 3572 opendir(DIR,"$dir") || die "Unable to open directory $dir"; 3570 3573 foreach my $f (readdir(DIR)) { … … 3572 3575 # Skip potential patch dir 3573 3576 next if ($f =~ /^pbpatch/); 3577 # Skip potential source dir 3578 next if ($f =~ /^pbsrc/); 3574 3579 move("$dir/$f","$ddir") || die "Unable to move $dir/$f to $ddir"; 3575 3580 pb_log(2,"mv $dir/$f $ddir\n");
Note:
See TracChangeset
for help on using the changeset viewer.