Changeset 43


Ignore:
Timestamp:
02/23/06 18:04:45 (18 years ago)
Author:
kdeugau
Message:

/trunk

Fugbixing again... Requires got tangled with some shell-script
executables not in /etc/init.d. Found a better way to ignore them.

*squish* *squish* It's fixed this time.

Really.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r42 r43  
    909909
    910910  print "Checking library requirements...\n";
    911   my @binlist = qx { find $pkgtree -type f -perm 755 | grep -v $pkgtree/etc };
     911  my @binlist = qx { find $pkgtree -type f -perm 755 };
    912912
    913913  if (scalar(@binlist) == 0) {
     
    930930
    931931  my %reqs;
    932   my $reqlibs;
     932  my $reqlibs = '';
    933933
    934934  foreach (@reqlist) {
     
    948948  }
    949949
    950   foreach (qx { dpkg -S $reqlibs }) {
    951     my ($libpkg,undef) = split /:\s+/;
    952     $reqs{$libpkg} = 1;
    953   }
    954 
    955   my $deplist;
     950  if ($reqlibs ne '') {
     951    foreach (qx { dpkg -S $reqlibs }) {
     952      my ($libpkg,undef) = split /:\s+/;
     953      $reqs{$libpkg} = 1;
     954    }
     955  }
     956
     957  my $deplist = '';
    956958  foreach (keys %reqs) {
    957959    $deplist .= ", $_";
Note: See TracChangeset for help on using the changeset viewer.