fix a prereq bug
authorFelix Fietkau <nbd@openwrt.org>
Thu, 26 Jul 2007 16:14:14 +0000 (16:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 26 Jul 2007 16:14:14 +0000 (16:14 +0000)
SVN-Revision: 8183

scripts/metadata.pl

index 75fda05..6ed128a 100755 (executable)
@@ -556,7 +556,7 @@ sub gen_package_mk() {
                }
                if ($config) {
                        print "package-$config += $pkg->{subdir}$pkg->{src}\n";
-                       $pkg->{prereq} and print "prereq-$config += $pkg->{src}\n";
+                       $pkg->{prereq} and print "prereq-$config += $pkg->{subdir}$pkg->{src}\n";
                }
        
                my $hasdeps = 0;