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 75fda05d4436b84f2c5151967a745693db2c36a3..6ed128aae22ff6c8584d9b97d43b24ce9c119ed8 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;