Changeset 1777


Ignore:
Timestamp:
Sep 16, 2010, 9:08:10 AM (9 years ago)
Author:
matthijs
Message:

buildsystem: Fix find_depends.pl showing the package itself.

find_depends.pl is supposed to show all dependencies of a given package,
but it would also show the package itself. There was condition to
prevent that, but it used the wrong variable name and numerical
inequality instead of string inequality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/scripts/find_depends.pl

    r1751 r1777  
    2424    my $pkg = $package{$name};
    2525    my $makefile = $pkg->{makefile};
    26     print("$name\t$makefile\n") if $pkg != $ARGV[1];
     26    print("$name\t$makefile\n") if $name ne $ARGV[1];
    2727
    2828    # Recursively process dependencies
Note: See TracChangeset for help on using the changeset viewer.