Changeset 266 for devel/pb/bin/pb


Ignore:
Timestamp:
Oct 27, 2007, 7:37:54 PM (12 years ago)
Author:
bruno
Message:

Realise the filtering of pbinit correctly (validated on mondo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r265 r266  
    254254                next;
    255255            }
    256             $bfiles{"pbinit"} = "$pbpkg/pbinit";
    257256            print $LOG "DEBUG bfiles: ".Dumper(\%bfiles)."\n" if ($debug >= 1);
    258257
     
    296295        # Prepare the dest directory for archive
    297296        if (-x "$ENV{'PBCONF'}/$pbpkg/pbinit") {
    298             pb_system("cd $dest ; $ENV{'PBCONF'}/$pbpkg/pbinit","Executing init script $ENV{'PBCONF'}/$pbpkg/pbinit");
     297            pb_filter_file("$ENV{'PBCONF'}/$pbpkg/pbinit",$ptr,"$ENV{'PBTMP'}/pbinit",$pbpkg,$pbver,$pbtag,$pbrev,$pbdate,$pbpackager);
     298            chmod 0755,"$ENV{'PBTMP'}/pbinit";
     299            pb_system("cd $dest ; $ENV{'PBTMP'}/pbinit","Executing init script from $ENV{'PBCONF'}/$pbpkg/pbinit");
    299300        }
    300301
Note: See TracChangeset for help on using the changeset viewer.