Changeset 68 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Aug 31, 2007, 1:45:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r67 r68 254 254 chdir "$ENV{'PBDESTDIR'}"; 255 255 # Possibility to look at PBSRC to guess more the filename 256 pbsystem("tar cfp hz $pbpkg-$pbver.tar.gz $pbpkg-$pbver","Creating $pbpkg tar files compressed");256 pbsystem("tar cfpz $pbpkg-$pbver.tar.gz $pbpkg-$pbver","Creating $pbpkg tar files compressed"); 257 257 print $LOG "Under $ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.gz\n" if ($debug >= 0); 258 258 # Keep track of what is generated for build2pkg default 259 open(LAST,"> $ENV{'PB TOPDIR'}/LAST") || die "Unable to create $ENV{'PBTOPDIR'}/LAST";259 open(LAST,"> $ENV{'PBDESTDIR'}/LAST") || die "Unable to create $ENV{'PBDESTDIR'}/LAST"; 260 260 print LAST "$pbver-$pbtag\n"; 261 261 close(LAST); … … 265 265 my $vertag = shift @ARGV; 266 266 if (not defined $vertag) { 267 open(LAST,"$ENV{'PB TOPDIR'}/LAST") || die "Unable to open $ENV{'PBTOPDIR'}/LAST\nYou may want to precise as parameter version-tag";267 open(LAST,"$ENV{'PBDESTDIR'}/LAST") || die "Unable to open $ENV{'PBDESTDIR'}/LAST\nYou may want to precise as parameter version-tag"; 268 268 $vertag = <LAST>; 269 269 chomp($vertag);
Note:
See TracChangeset
for help on using the changeset viewer.