- Timestamp:
- Feb 19, 2011, 1:36:38 AM (14 years ago)
- Location:
- devel/pb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1207 r1208 1191 1191 $pkg = { } if (not defined $pkg); 1192 1192 1193 chdir "$ENV{'PBBUILDDIR'}"; 1193 pb_mkdir_p("$ENV{'PBBUILDDIR'}") || die "Unable to create $ENV{'PBBUILDDIR'}"; 1194 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}"; 1194 1195 my $made = ""; # pkgs made during build 1195 1196 my $pm; … … 1257 1258 1258 1259 } elsif ($pbos->{'type'} eq "deb") { 1259 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}";1260 1260 pb_system("tar xfz $src","Extracting sources"); 1261 1261 pb_system("tar xfz $src2","Extracting pbconf"); … … 1341 1341 $made="$made $pbpkg/$pbpkg-$pbver-*-$pbtag.tgz"; 1342 1342 1343 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}";1344 1343 pb_system("tar xfz $src","Extracting sources"); 1345 1344 pb_system("tar xfz $src2","Extracting pbconf"); … … 1356 1355 my $pkgdestdir="$ENV{'PBBUILDDIR'}/install"; 1357 1356 1358 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}";1359 1357 # Will host resulting packages 1360 1358 pb_mkdir_p("$pbos->{'type'}"); … … 1392 1390 } elsif ($pbos->{'type'} eq "hpux") { 1393 1391 # HP-UX 1394 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}";1395 1392 pb_system("tar xfz $src","Extracting sources"); 1396 1393 pb_system("tar xfz $src2","Extracting pbconf"); … … 1561 1558 $pkg = { } if (not defined $pkg); 1562 1559 1563 chdir "$ENV{'PBBUILDDIR'}"; 1560 pb_mkdir_p("$ENV{'PBBUILDDIR'}") || die "Unable to create $ENV{'PBBUILDDIR'}"; 1561 chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}"; 1564 1562 foreach my $pbpkg (@pkgs) { 1565 1563 my $vertag = $pkg->{$pbpkg}; -
devel/pb/lib/ProjectBuilder/CMS.pm
r1185 r1208 706 706 # Create structure and remove end dir before exporting 707 707 pb_mkdir_p("$ENV{$envar}"); 708 rm_rf($ENV{$envar});708 pb_rm_rf($ENV{$envar}); 709 709 pb_cms_checkout($scheme,$uri,$ENV{$envar}); 710 710 } else {
Note:
See TracChangeset
for help on using the changeset viewer.